Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Bėda su panele

Parašė adulis· 2008 Lie. 5 18:07:48
#1

Kas čia ne taip? čia biški paredagavau ir visa saita iškraipo (čia tik dalis panelės)

echo'
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Eteryje:</b></font>
   <font face="Tahoma" style="font-size: 8pt" color="#ffffff">'.$aim.'</font></td>
  <tr>
   <td height="17">
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Dabar eteryje groja:</b></font>
  <marquee behavior="right"><font face="Arial" style="font-size: 8pt" color="#ffffff">'.$daina.'</font></td></marquee></p>

  </tr>
 </table>
';



Parašė ereliai90· 2008 Lie. 5 18:07:15
#2

Tipo nerodo kokia daina groja?

Parašė -· 2008 Lie. 5 18:07:16
#3

o tu padejei tuos <? ?> ar kaip ten jie :?

Parašė ereliai90· 2008 Lie. 5 18:07:17
#4

openside("name");
  echo'
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Eteryje:</b></font>
   <font face="Tahoma" style="font-size: 8pt" color="#ffffff">'.$aim.'</font></td>
  <tr>
   <td height="17">
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Dabar eteryje groja:</b></font>
  <marquee behavior="right"><font face="Arial" style="font-size: 8pt" color="#ffffff">'.$daina.'</font></td></marquee></p>

  </tr>
 </table>
';
closeside();



Redagavo ereliai90· 2008 Lie. 5 18:07:33

Parašė adulis· 2008 Lie. 5 18:07:46
#5

Neįsiskaitėt ko man reikia.
Štai visa panelė:
opensidex("RADIJAS");

error_reporting(0);
$scdef = "Šiuo metu radija yra išjungta!";               // Default station name to display when server or stream is down
$scip = "89.249.88.137"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "8002";                   // port of shoutcast server
$scpass = "adsfsdfsdfsdf";                 // NELYSK ETERIN!
$maxusers = "100"; // :)
//End configuration
error_reporting(0);
$scsuccs = NULL;
$page = NULL;
include('config_radio.php');  //you may edit this path to fit your server environment otherwise leave it alone
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 30);
 if(!$scfp) {
  $scsuccs=1;
echo''.$scdef.' ';
 }
if ($scsuccs != 1) {
 fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
 while(!feof($scfp)) {
  $page .= fgets($scfp, 1000);
 }
######################################################################################################################
/////////////////////////part 1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//define  xml elements
 $loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS", "AIM");
 $y=0;
 while (isset($loop[$y])) {
  $pageed = ereg_replace(".*<$loop[$y]>", "", $page);
  $scphp = strtolower($loop[$y]);
  $$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
  if (($loop[$y] == "SERVERGENRE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "SONGTITLE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "AIM"))
   $$scphp = urldecode($$scphp);

// uncomment the next line to see all variables
// echo'$'.$scphp.' = '.$$scphp.'<br>';
  $y++;
 }
//end intro xml elements
######################################################################################################################
######################################################################################################################
/////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//get song info and history
 $pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
 $pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
 $songatime = explode("<SONG>", $pageed);
 $r=1;
 while (isset($songatime[$r])) {
  $t=$r-1;
  $playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
  $playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
  $song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
  $song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
  $song[$t] = urldecode($song[$t]);
  $dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
  $dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
 }
 $daina = str_replace('_',' ',substr ($song[0],0,90));
//end song info

fclose($scfp);
}

//display stats
if($streamstatus == "1"){
switch ($aim) {
    case 'WiNALL': $aimlogo = "Serveris"; break;
 case 'Serveris': $aimlogo = "Serveris"; break;
case 'DJ_Deivis': $aimlogo = "deivis"; break;

  case 'Saulius': $aimlogo = "Saulius"; break;
 default:  $aimlogo = "dj";
}
$_SESSION['djus'] = $aim;
echo'
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Eteryje:</b></font>
   <font face="Tahoma" style="font-size: 8pt" color="#ffffff">'.$aim.'</font></td>
  </tr>
  <tr>
   <td height="17">
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Dabar eteryje groja:</b></font>
  <marquee behavior="right"><font face="Arial" style="font-size: 8pt" color="#ffffff">'.$daina.'</font></td></marquee></p>

  </tr>
  </tr>
  </table>
                 </div>
';

}
if($streamstatus == "0")
{
echo'<font size="2" face="tahoma" color="#6C6D7B">Šiuo metu radija yra išjungta.</font>';
}

/*
* Procentai isreiksti grafiskai
* Pavyzdys: Internetines radijos dabartiniai klausytojai
* Yra maksimalus leistinas klausytoju skaicius ir dabar besiklausanciu procentali israiska grafiskai
*/
$pavadinimas = ""; //pavadinimas

$ko = "Klausytojų:"; //vienetas (pvz: Lt.)


//paveiksleliu nustatymai
$bg_pic = "http://img340.imageshack.us/img340/2239/loadbarbgnc2.gif"; //fono paveiksliukas (neaktyvi zona)
$nulis_pic = "http://img340.imageshack.us/img340/2239/loadbarbgnc2.gif"; //rodomoas paveiksliukas jei rezultatas lygus 0% (pvz jei nera klausytoju)
$mazas_pic = "http://img340.imageshack.us/img340/456/loadbargreenyk1.gif"; //uzsidengiantis paveiksliukas (zalia)
$vidutinis_pic = "http://img230.imageshack.us/img230/3815/loadbaryellowue2.gif"; //Kai vidutine procentu israiska (geltona)
$didelis_pic = "http://img403.imageshack.us/img403/8008/loadbarreduh0.gif"; //Kai arti arba lygu 100 procentu (raudona)


//pagrindiniai veiksmai
$procentai = (int)round((100 * $currentlisteners) / $maxusers);
$width = $procentai; //paveiksliuko plotis procentaliai
if ($procentai <= 1) {$pic = $nulis_pic; $width = "100";}
elseif ($procentai <= 40) { $pic = $mazas_pic; }
elseif ($procentai <= 80) { $pic = $vidutinis_pic; }
elseif ($procentai <= 100) { $pic = $didelis_pic; }
else { $pic = $didelis_pic; $width = "100"; } //jei daugiau nei 100%

//atvaziduojam lentele su rezultatais
echo "<center><b> $ko  ".$currentlisteners."";
echo "<center><b>".$pavadinimas."</b><table class=main border=0 width=160><tr><td style='padding: 0px; background-image: url(".$bg_pic."); background-repeat: repeat-x'>";
echo "<img height=15 width=\"".$width."%\" src=\"$pic\" alt='$currentlisteners'><br><font size='1'><center>".$procentai."%</center></font></td></tr></table>";
?>
<html><center>
<a href="http://84.32.116.110:8002/listen.pls"><img src="http://www.bumsoradijas.lt/radioinfo/klausyt.gif" border="0" alt="OGline.Net"/></a><br/></center>
<center><b>Hosted by OGline.net</b><br><a href="http://bumsoradijas.lt">www.BumsoRadijas.lt</a><br></center>

</html>
<?


closesidex();




kažkur kažkas netaip ir iškraipo visa saita...

Redagavo adulis· 2008 Lie. 5 18:07:13

Parašė -· 2008 Lie. 5 18:07:07
#6

openside("RADIJAS");
?>
error_reporting(0);
$scdef = "Šiuo metu radija yra išjungta!";               // Default station name to display when server or stream is down
$scip = "89.249.88.137"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "8002";                   // port of shoutcast server
$scpass = "adsfsdfsdfsdf";                 // NELYSK ETERIN!
$maxusers = "100"; // :)
//End configuration
error_reporting(0);
$scsuccs = NULL;
$page = NULL;
include('config_radio.php');  //you may edit this path to fit your server environment otherwise leave it alone
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 30);
 if(!$scfp) {
  $scsuccs=1;
echo''.$scdef.' ';
 }
if ($scsuccs != 1) {
 fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
 while(!feof($scfp)) {
  $page .= fgets($scfp, 1000);
 }
######################################################################################################################
/////////////////////////part 1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//define  xml elements
 $loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS", "AIM");
 $y=0;
 while (isset($loop[$y])) {
  $pageed = ereg_replace(".*<$loop[$y]>", "", $page);
  $scphp = strtolower($loop[$y]);
  $$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
  if (($loop[$y] == "SERVERGENRE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "SONGTITLE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "AIM"))
   $$scphp = urldecode($$scphp);

// uncomment the next line to see all variables
// echo'$'.$scphp.' = '.$$scphp.'<br>';
  $y++;
 }
//end intro xml elements
######################################################################################################################
######################################################################################################################
/////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//get song info and history
 $pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
 $pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
 $songatime = explode("<SONG>", $pageed);
 $r=1;
 while (isset($songatime[$r])) {
  $t=$r-1;
  $playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
  $playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
  $song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
  $song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
  $song[$t] = urldecode($song[$t]);
  $dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
  $dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
 }
 $daina = str_replace('_',' ',substr ($song[0],0,90));
//end song info

fclose($scfp);
}

//display stats
if($streamstatus == "1"){
switch ($aim) {
    case 'WiNALL': $aimlogo = "Serveris"; break;
 case 'Serveris': $aimlogo = "Serveris"; break;
case 'DJ_Deivis': $aimlogo = "deivis"; break;

  case 'Saulius': $aimlogo = "Saulius"; break;
 default:  $aimlogo = "dj";
}
$_SESSION['djus'] = $aim;
echo'
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Eteryje:</b></font>
   <font face="Tahoma" style="font-size: 8pt" color="#ffffff">'.$aim.'</font></td>
  </tr>
  <tr>
   <td height="17">
   <p align="center">
   <font face="Tahoma" style="font-size: 8pt" color="#8E1715"><b>Dabar eteryje groja:</b></font>
  <marquee behavior="right"><font face="Arial" style="font-size: 8pt" color="#ffffff">'.$daina.'</font></td></marquee></p>

  </tr>
  </tr>
  </table>
                 </div>
';

}
if($streamstatus == "0")
{
echo'<font size="2" face="tahoma" color="#6C6D7B">Šiuo metu radija yra išjungta.</font>';
}

/*
* Procentai isreiksti grafiskai
* Pavyzdys: Internetines radijos dabartiniai klausytojai
* Yra maksimalus leistinas klausytoju skaicius ir dabar besiklausanciu procentali israiska grafiskai
*/
$pavadinimas = ""; //pavadinimas

$ko = "Klausytojų:"; //vienetas (pvz: Lt.)


//paveiksleliu nustatymai
$bg_pic = "http://img340.imageshack.us/img340/2239/loadbarbgnc2.gif"; //fono paveiksliukas (neaktyvi zona)
$nulis_pic = "http://img340.imageshack.us/img340/2239/loadbarbgnc2.gif"; //rodomoas paveiksliukas jei rezultatas lygus 0% (pvz jei nera klausytoju)
$mazas_pic = "http://img340.imageshack.us/img340/456/loadbargreenyk1.gif"; //uzsidengiantis paveiksliukas (zalia)
$vidutinis_pic = "http://img230.imageshack.us/img230/3815/loadbaryellowue2.gif"; //Kai vidutine procentu israiska (geltona)
$didelis_pic = "http://img403.imageshack.us/img403/8008/loadbarreduh0.gif"; //Kai arti arba lygu 100 procentu (raudona)


//pagrindiniai veiksmai
$procentai = (int)round((100 * $currentlisteners) / $maxusers);
$width = $procentai; //paveiksliuko plotis procentaliai
if ($procentai <= 1) {$pic = $nulis_pic; $width = "100";}
elseif ($procentai <= 40) { $pic = $mazas_pic; }
elseif ($procentai <= 80) { $pic = $vidutinis_pic; }
elseif ($procentai <= 100) { $pic = $didelis_pic; }
else { $pic = $didelis_pic; $width = "100"; } //jei daugiau nei 100%

//atvaziduojam lentele su rezultatais
echo "<center><b> $ko  ".$currentlisteners."";
echo "<center><b>".$pavadinimas."</b><table class=main border=0 width=160><tr><td style='padding: 0px; background-image: url(".$bg_pic."); background-repeat: repeat-x'>";
echo "<img height=15 width=\"".$width."%\" src=\"$pic\" alt='$currentlisteners'><br><font size='1'><center>".$procentai."%</center></font></td></tr></table>";
?>
<html><center>
<a href="http://84.32.116.110:8002/listen.pls"><img src="http://www.bumsoradijas.lt/radioinfo/klausyt.gif" border="0" alt="OGline.Net"/></a><br/></center>
<center><b>Hosted by OGline.net</b><br><a href="http://bumsoradijas.lt">www.BumsoRadijas.lt</a><br></center>

</html>
<?


closeside();



nzn man atrodo taip Tinka ????

Redagavo -· 2008 Lie. 5 18:07:52

Parašė adulis· 2008 Lie. 5 21:07:18
#7

Susitvarkiau.
Nenoriu kurt naujos temos tai rašau čia:

Tokis patys img bet atvaizduoja kaškaip netaip


Theme.php:
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "944";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<table align='center' width='940' height='211' border='0' cellpadding='0' cellspacing='0'>
   <tr>

      <td colspan='2' class='netzone_head_1' width='38' height='37'><a href='#'><img src='".THEME."images/spacer.gif' width='35' height='35' style='display:block'></a></td>
      <td class='netzone_head_2' width='35' height='37'><a href='contact.php'><img src='".THEME."images/spacer.gif' width='32' height='35' style='display:block'></a></td>
      <td class='netzone_head_3' width='35' height='37'><a href='search.php'><img src='".THEME."images/spacer.gif' width='32' height='33' style='display:block'></a></td>
      <td colspan='3' class='netzone_head_4' width='832' height='37'></td>
   </tr>
   <tr>
      <td colspan='5' class='netzone_head_5' width='433' height='48'></td>
      <td colspan='2' class='netzone_head_6' width='507' height='48'></td>
   </tr>

   <tr>
      <td colspan='7' class='netzone_head_7' width='940' height='51'></td>
   </tr>
   <tr>
      <td class='netzone_head_8' width='16' height='60'></td>
      <td colspan='5' class='netzone_head_9' width='468' height='60'><a href='http://ogline.net/news.php'><img src='http://ogline.net/468x60.gif'></td>
      <td class='netzone_head_10' width='456' height='60'></td>
   </tr>
   <tr>

      <td colspan='7' class='netzone_head_11' width='940' height='14'></td>
   </tr>
   <tr>
      <td>
         <img src='images/spacer.gif' width='16' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='22' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='35' height='1' ></td>

      <td>
         <img src='images/spacer.gif' width='35' height='1' ></td>
      <td><img src='images/spacer.gif' width='325' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='51' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='456' height='1' ></td>
   </tr>
</table>
";
echo"<table align='center' width='940' height='44' border='0' cellpadding='0' cellspacing='0'>
      <td><a href='news.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif' width='68' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_01.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif'></a></td><td><a href='http://ogline.net/forum/index.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_02.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif'></a></td><td><a href='http://ogline.net/downloads.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif' width='85' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_03.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif'></a></td><td><a href='http://ogline.net/articles.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_04.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__05.gif' width='77' height='44' border='0'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__06.gif' width='67' height='44' border='0'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__07.gif' width='105' height='44' border='0'></a></td><td class='netzone_subhead_8' width='58' height='44'></td><td class='netzone_subhead_19' width='1' height='44'><table width='360' cellpadding='0' cellspacing='0' border='0' align='left'>
     <marquee scrollamount='4' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee>
</td><td valign='center'></td>
</table></td></tr>
</table>
";








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



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








</tr>
<tr>
    <td>
\n";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}

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

   echo "</tr>\n</table>\n";
   echo "<table align='center' width='936' height='44' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='foootas1' width='714'></td>

      <td class='foootas2' width='226'></td>
   </tr>
</table>";
}

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

global $locale;

   echo "<table align='center' border='0' width='531' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='pan-ct-kaire'></td>
      <td class='pan-ct-centras'><center>$subject</center></td>

      <td class='pan-ct-desine'></td>
   </tr>
   <tr>
      <td class='pan-ct-son-kaire'></td>
      <td class='pan-ct-fonas'>";
   echo "$news";
   echo "<td class='pan-ct-son-desine'></td>
   </tr>
   <tr>
      <td class='pan-ct-apac-kaire'></td>
      <td class='pan-ct-apac-centras'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." ";
   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>
      <td class='pan-ct-apac-desine'></td>
   </tr>
</table>";
}

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 width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
   <tr>
      <td>
<table width='100%' height='37' cellpadding='0' cellspacing='0'>
   <tr>

       <td class='pan-ct-kaire_all' width='125'><img src='".THEME."images/spacer.gif' width='125' height='37' style='display:block'></td>
       <td class='pan-ct-centras_all' width='100%'><center>$title</center></td>
      <td class='pan-ct-desine_all' width='137'><img src='".THEME."images/spacer.gif' width='137' height='37' style='display:block'></td>
   </tr>
</table>
   <table width='100%' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='pan_ct_body_all' width='100%' height='100%'>";
}

// Close table end
function closetable() {

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

function openside($title) {
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
   <tr>
      <td>
<table width='100%' cellpadding='0' cellspacing='0'>

   <tr>
      <td class='netzone_pan_l'>$title</td>
   </tr>
   <tr>
      <td class='paneles_bg'>";
}

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";
}
?>





Parašė Dandžu· 2008 Lie. 5 22:07:10
#8

Aišku bus height per didelis arba nenustatyas.