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

Parašė MantasV· 2011 Vas. 1 19:02:32
#2


function render_news($subject, $news, $info) {
 
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main3'>$subject</td>";
   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
   echo "<td align='left' class='infobar'>
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Per&#382;i&#363;ros</div></td>";
echo "<td align='right' class='button'>
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b> Ziureti Filma... </b></a></td>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><br>\n";


Na kažkas tokio net netestavau, pabandyk turėtų veikti. Jei veiks tai pasikeisk class='button' jei turi kokį susikūręs styles.css faile mygtuką.

P.S. gal pasakysi paslaptį iš kur tokį Shoutbox gauti kaip pas tave ? :D :)

Redagavo MantasV· 2011 Vas. 1 19:02:37