Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: RImtu klausimu

Parašė egisss· 2009 Rugp. 9 20:08:37
#1

Sveiki, turiu štai toki saita,





ir aš noriu kad kairiame kampe apačioje stovėtu štai šis mano grotuvas

<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNDk4MzY4MjQ3MzQmcHQ9MTI*OTgzNjgzMDU5MyZwPTE4MDMxJmQ9Jmc9MSZvPTRjNjBmMTBkMjA3MDQ2NzliODRjNzQwYTdjNjNhZGE3.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mff-touch.swf" height="390" width="235" style="width:235px;height:390px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mff-touch.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=27013170&path=2009/08/09&mycolor=000000&mycolor2=0267CA&mycolor3=FFFFFF&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false&ow=235&oh=390"/>




žinau kad reikia dirbti su mano theme.php failu tai štai aš jį visa ir nukopijavau, gal kas mokėtu patvaarkyti ir įdeti grotuva į vieta bučiau begalo dėkingas
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

/**
By gintas
**/
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "920";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {

global $theme_width,$db_prefix;

echo "<table align='center' cellspacing='0' cellpadding='0' width='792' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>

<tr>
<td class='sritis_login'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='900'></td>
<td width='195'><table align='center' cellpadding='0' cellspacing='0' width='195'>
<tr>
<td class='side-body-login'>
<div align='center'>
<form name='loginform' method='post' action='news.php'>
<tr>
<img src='".THEME."images/prisijungimas.png' align='right'><br>
</tr>
<tr>
<div align='right'><a href='register.php'><img src='".THEME."images/registracija.png' border='0'></a>&nbsp;&nbsp;<a href='lostpassword.php'><img src='".THEME."images/p_slaptazodis.png' border='0'></a></div>
</tr><br>
<tr>

<td align='right'><img src='".THEME."images/vardas.png'></td>
<td align='right'><input type='text' name='user_name' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='right'><img src='".THEME."images/slaptazodis.png'></td>
<td align='right'><input type='password' name='user_pass' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:middle;'><img src='".THEME."images/prisiminti.png'></td>
<td align='right'><input type='submit' name='login' value='Jungtis' class='button_1'></td>
</tr>
</form>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>

<td height='5'></td>
</tr>
</table>
</td>
<td width='111'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='sritis_panel'>
<tr>
<td width='378'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'>

<table width='100%' cellpadding='0' cellspacing='0'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 30);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
} else {
echo "<center>Siuntinių nėra !</center>\n";
}

echo "</table></td>
</tr>

</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='20'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'>
<table width='100%' cellpadding='0' cellspacing='0'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,10");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 30);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
} else {
echo "<center>Siuntinių nėra !</center>\n";
}

echo "
</table></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>

</table>
</td>
<td width='22'></td>
</tr>
</table>";


echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>\n";

}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

echo '<table border="0" cellpadding="0" cellspacing="0" width="'.$theme_width.'" align="center">
  <tr>
    <td width="20" height="28">
    <img border="0" src="'.THEME.'images/down_01.gif" width="20" height="28"></td>
    <td height="28" class="copyright" background="'.THEME.'images/down_02.gif"><center><font color="#ffffff">Sukurta: eJay & Liepsna </a> -----------------> <font color="#ffffff">El-paštas: <a href="mailto:egidijus.aranauskas@gmail.com" class="white">egidijus.aranauskas@gmail.com.</a>  ir  <a href="mailto:d.sraiba@gmail.com" class="white">d.sraiba@gmail.com.</a></font></center></td>
    <td width="19" height="28">
    <img border="0" src="'.THEME.'images/down_03.gif" width="19" height="28"></td>
  </tr>
</table>';
}

function render_news($subject, $news, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

   echo "</td></tr></table></td></tr></table>";
   tablebreak();
}

function opensidex($title,$open="on") {

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></td></tr></table></td></tr></table>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>



Redagavo Žmogus· 2009 Rugp. 9 21:08:10