Navigacija

Vartotojų tinkle

Prisijungusių svečių: 402
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 3 savaitės
Reikalas 8 savaitės
Jaunelis14 savaitės
lanis14 savaitės
And2s15 savaitės
Memento Mori20 savaitės
ozzWANTED20 savaitės
Quwqkibor22 savaitės
asirija26 savaitės
tomeem28 savaitės
weberiz32 savaitės
mRokass34 savaitės
kartoonas35 savaitės
iaescortsmap35 savaitės
grunskiz38 savaitės
Bruksnys38 savaitės
illusion38 savaitės
ordo39 savaitės
Jurgaila40 savaitės
originalcs1640 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.21.246.168
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,534
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
JS: Pagalba, javascript ir dar sis tas.
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | C#, Python, Java, JS, C++ klausimai

Autorius: nwk Peržiūrų: 2492      Spausdinti temą
2010 Sau. 19 10:01:14          1 žinutė iš 5
Spausdinti pranešimą
Is vienos temos pasiemiau "grade.js"
Kaip galeciau iterpt i savo themes.php kad jis veiktu?
Bandziau terpt si koda:

<script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='".THEME."grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>




Bet vistiek neveikia.


Dar kad nekurt temos, gal kas galetu i si themes.php imesti user info headerije, kad rodytu prisijugima ne kaip visad sone, o headeri, bandziau padaryt bet niekaip nesigauna. :(
Galima patalpinti vietoi topdownload, nenoriu pats trint nes bijau sugadint.

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

function render_header($header_content) {
global $db_prefix;
?><script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='".THEME."grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>

<center>
<div id="head">
<div id="head_button_01" onclick="document.getElementById('head_top_download').style.display='none';document.getElementById('head_hot').style.display='block';"><img src="<?=THEME;?>images/blank.gif" width="70" height="20" alt=""></div>
<div id="head_button_02" onclick="document.getElementById('head_top_download').style.display='block';document.getElementById('head_hot').style.display='none';"><img src="<?=THEME;?>images/blank.gif" width="80" height="20" alt=""></div>
<div id="head_top">
<div id="head_top_download">
<?
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,15");
if (dbrows($result) != 0) {
echo "<table width='240' align='center' cellpadding='0' cellspacing='0'>";
$num = 0;
while($data = dbarray($result)) {
$num++;
$itemsubject = trimlink($data['download_title'], 32);
echo "<tr><td><b>".$num.".</b> </td><td><a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a><td align='right'>".$data['download_count']."</td>";
}
echo "</table>";}
?>
</div>
<div id="head_hot">
<?
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,15");
if (dbrows($result) != 0) {
echo "<table width='240' align='center' cellpadding='0' cellspacing='0'>";
$num = 0;
while($data = dbarray($result)) {
 $num++;
$itemsubject = trimlink($data['download_title'], 32);
echo "<tr><td><b>".$num.".</b> </td><td><a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a><td align='right'>".$data['download_count']."</td>";
}
echo "</table>";
}
?>
</div>
</div>
</div>
</center>
<?
echo "<table align='center' id='main_table' width='990' cellspacing='0' cellpadding='0'>\n<tr>\n";
}

function render_footer($license=false) {
?>
</tr>
<td colspan="3" align="center">
<div id="footer"> Dizainas: nwk.lt</div>
</td>
<?
echo "</tr>\n</table>\n";
}

function render_news($subject, $news, $info) {
global $locale;
?>
<div class="opentable">
<div class="opentable_title"><?=$subject;?></div>
<div class="opentable_main"><?=$news;?></div>
<div class="opentable_bottom"><?echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);?></div>
</div>
<?
}

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

global $locale;
?>
<div class="opentable">
<div class="opentable_title"><?=$subject;?></div>
<div class="opentable_main"><?=$article;?></div>
<div class="opentable_bottom"><?echo openform("A",$info['news_id']).articleopts($info,"&middot;").closeform("A",$info['news_id']);?></div>
</div>
<?
}

function opentable($title) {

?>
<div class="opentable">
<div class="opentable_title"><?=$title;?></div>
<div class="opentable_main">
<?
}

function closetable() {

?>
</div>
</div>
<?
}

function openside($title) {
?>
<div class="openside">
<div class="openside_title"><?=$title;?></div>
<div class="openside_main">
<?
}

function closeside() {
?>
</div>
</div>
<?
}

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

?>
<div class="openside">
<div class="openside_title"><?=$title;?></div>
<div class="openside_main">
<?
}

function closesidex() {

?>
</div>
</div>
<?
}

function tablebreak() {

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






Gyvenimas liudnas. Gerai, kad nors atlyginimas juokingas
Redagavo ozzWANTED 2010 Sau. 31 17:01:33
2010 Sau. 24 16:01:43          2 žinutė iš 5
Spausdinti pranešimą
nwk parašė:
Is vienos temos pasiemiau "grade.js"
Kaip galeciau iterpt i savo themes.php kad jis veiktu?
Bandziau terpt si koda:

<script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='".THEME."grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>




Bet vistiek neveikia.

[/code]


Man šito ir reiktų.

Np.
2010 Sau. 25 13:01:03          3 žinutė iš 5
Spausdinti pranešimą
Bet nejau niekas negalit padet? :/

Gyvenimas liudnas. Gerai, kad nors atlyginimas juokingas
2010 Sau. 31 17:01:51          4 žinutė iš 5
Spausdinti pranešimą
Taip
<script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>




arba jeigu neveikia kelk į infusions folderį ir tuomet rašyk taip:

<script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='".INFUSIONS."grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>




O geriausias sprendimas būtų pažiūrėti kaip šitas skriptas patalpintas kitoje temoje ir taip pat padaryt pas save.

www.creatium.lt
2010 Sau. 31 20:01:08          5 žinutė iš 5
Spausdinti pranešimą
o kur geriausia iterpt koda? Nes kartais buna kad isvis nevekia themes.php.

Edit:
O vat is sito themes.php as ir paimiau grade.js
bet nesuprantu ka dar tureciau is cia pasiimt ir i terpt i savo themes.php kad gerai veiktu tas grade.js
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#313234";
$theme_width = "880";
$theme_width_l = "210";
$theme_width_r = "210";

function render_header($header_content) {

global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;

echo "<body background=\"".THEME."images/bg.jpg\" text=\"white\">

<script type='text/javascript' src='".INFUSIONS."info_panel/javascript/gpe.js'></script>
<script type='text/javascript' src='".THEME."grade.js'></script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>
<taašr><td>
<center>
<table id='Tabela_01' border='0' cellpadding='0' cellspacing='0' width='880' >
<tr>
<td colspan='10'>
<img id='lay1_01' src='".THEME."images/lay1_01.gif' width='880' height='20' alt='' /></td>
</tr>
<tr>
<center><td colspan='10' background='".THEME."images/lay1_02.gif' width='880' height='39' style=\"border: 0; padding-top: 10; padding-left: 70; padding-right: 0; padding-bottom: 10;\">
</center>
</td>
</tr>
<tr>
<td colspan='20'>
<center><img src='".THEME."images/lay1_03.gif' width='880' height='178' alt='' style=\"border: 1; padding-top: 0; padding-left: 7; padding-right: 0; padding-bottom: 0;\"></td></center>
</tr>
<tr>
<td colspan='6' background='".THEME."images/lay1_04.gif' width='427' height='170'  style=\"border: 0; padding-top: 20; padding-left: 70; padding-right: 0; padding-bottom: 10;\" >";
if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img padding-left: 70;  src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' hight='100' alt='".$data['user_name']."'></td>";
echo "</table></center>";
} else {
echo"<taašr><td></td></tr></table>";

}

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' >Redaguoti prifil&#303;</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='userinfo'>&#381;inut&#279;s [nauj&#371;: <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='userinfo'>Mano profilis</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' >Nari&#371; sara&#353;as</a><br><br>\n";

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td></td></tr></table>";
echo "\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<b><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' >Administracija</a></b><br>\n";
}{echo "\n";
echo"<center><div style=\"text-align: left\"><br><input type='button' class='button' value='Atsijungti' onClick=\"window.self.open('".BASEDIR."setuser.php?logout=yes','_self')\"></div></center>\n";
if ($msg_count) echo "<center><b><a href='".BASEDIR."user/pw.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='pass' value='vardas' onBlur=\"if(this.value=='') this.value='vardas';\" onFocus=\"if(this.value=='vardas') this.value='';\" style=\"padding-top: 4px; border: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<input type='password' name='user_pass' class='pass' value='slapta&#382;odis' onBlur=\"if(this.value=='') this.value='slapta&#382;odis';\" onFocus=\"if(this.value=='slapta&#382;odis') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br>
<input type='checkbox' name='remember_me' value='y' title='Zapamiźtaj mnie' style='vertical-align:middle;'>
<input type='submit' name='login' value='' class='inne'>
</form>
<br>\n";

if ($settings['enable_registration']) {
echo "Dar ne narys ? <a href='".BASEDIR."register.php' >U&#382;siragistruok</a><br>\n";
}
echo "U&#382;mir&#353;ai slapta&#382;odi ? <a href='".BASEDIR."lostpassword.php' >Prisimink!</a>
</div>\n";
}
closesidel();
echo "</center></td>

<td colspan='3' background='".THEME."images/lay1_05.gif' width='248' height='170'  style=\"border: 0; padding-top: 30; padding-left: 10; padding-right: 10; padding-bottom: 10;\">";
$result=dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,8");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#CCCCCC'><b>Prisijung&#281;s</b></font>";
}elseif($lastseen<360){
$lastseen="<font color='#BBBBBB'><b>Atsijung&#281;s</b></font>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>   
<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>";
echo "<span style='color:#".$data['user_color']."'>".$data['user_prefix'].$data['user_name']."</span></b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>";
}
}
echo"<table align=\"down\" ><tr><td>";

echo "</td></tr></table></td>
<td background='".THEME."images/lay1_06.gif' width='340' height='170' style=\"border: 0; padding-top: 30; padding-left: 10; padding-right: 60; padding-bottom: 10;\">";
$result = dbquery("SELECT * FROM ".$db_prefix."threads WHERE thread_sticky='0' ORDER by thread_views DESC LIMIT 0,7");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_id'], 23);
$itemdescription = trimlink($data['thread_subject'], 23);
echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tbody><tr><td class=\"small\" align=\"left\" width=\"75%\"><img src=\"".THEME."forum/folder.gif\" height=\"11\"> <a  href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."'>".$data['thread_subject']."
</a></td>
<td align=\"right\" width=\"25%\">[ ".$data['thread_views']." ]</td></tr></tbody></table>\n";
}
}
echo"</td></tr>
    <tr>
      <td colspan='10'>
      <img id='lay1_07' src='".THEME."images/lay1_07.gif' width='1000' height='32' alt='' /></td>
    </tr>
    <tr>
      <td>
         <img src='".THEME."images/odstep.gif' width='103' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='95' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='106' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='46' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='49' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='28' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='61' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='54' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='133' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='325' height='1' alt='' /></td>
</tr>
</table>
<table width='100%' cellspacing='0' cellpadding='0' align='center'>
<tr><td>\n";

}

function render_footer($license=false) {

global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;

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

<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" >
<tr>
<td colspan='10'>
<img id='lay1_22' src='".THEME."images/lay1_22.gif' width='1000' height='24' alt='' /></td>
</tr>
<tr>
<td>
<img id='lay1_23' src='".THEME."images/lay1_23.gif' width='103' height='17' alt='' /></td>
<td>
<a href='http://extreme-fusion.pl'><img id='lay1_24' border=\"0\" src='".THEME."images/lay1_24.gif' width='95' height='17' alt='' /></a></td>
<td>
<img id='lay1_25' border=\"0\" src='".THEME."images/lay1_25.gif' width='106' height='17' alt='' /></td>
<td colspan='2'>
<a href='http://egrafix.yoyo.pl/'><img id='lay1_26' border=\"0\" src='".THEME."images/lay1_26.gif' width='95' height='17' alt='' /></a></td>
<td colspan='2'>
<img id='lay1_27' src='".THEME."images/lay1_27.gif' width='89' height='17' alt='' /></td>
<td>
<img id='lay1_28' src='".THEME."images/lay1_28.gif' width='54' height='17' alt='' /></td>
<td colspan='2'>
<img id='lay1_29' src='".THEME."images/lay1_29.gif' width='458' height='17' alt='' /></td>
</tr>
<tr>
<td colspan='10'>
<img id='lay1_30' src='".THEME."images/lay1_30.gif' width='1000' height='17' alt='' /></td>
</tr>
<tr>
      <td>
         <img src='".THEME."images/odstep.gif' width='103' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='95' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='106' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='46' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='49' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='28' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='61' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='54' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='133' height='1' alt='' /></td>
      <td>
         <img src='".THEME."images/odstep.gif' width='325' height='1' alt='' /></td>
</tr>
</table>
</td></tr></table>\n";

}

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

global $locale;
   
echo " <table border=\"0\"  width='650' cellspacing=\"0\" cellpadding=\"0\" >
</tr>
<tr>
<td colspan='6' background='".THEME."images/lay1_16.gif' width='650' height='39'  style=\"border: 0; padding-top: 0; padding-left: 20; padding-right: 95; padding-bottom: 9;\">:: $subject</td>
</tr>
<tr>
<td background='".THEME."images/lay1_11.gif' width='650' height='9'  style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 95; padding-bottom: 10;\">$news</td>
</tr>
<tr>
<td colspan='6'>
<img id='fifa_11' src='".THEME."images/lay1_11.gif' width='650' height='9' alt='' /></td>
</tr>
<tr>
<td colspan='6'>
<img id='fifa_11' src='".THEME."images/lay1_20a.gif' width='650' height='9' alt='' /></td>
</tr>
<tr>
<td colspan='4' background='".THEME."images/lay1_11.gif' style=\"border: 0; padding-top: 0; padding-left: 60; padding-right: 95; padding-bottom: 10;\"  align='right' >
<font color='#949494'><center>
 ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'><span style='color:#".$info['user_color']."'>".$info['user_prefix'].$info['user_name']."</span></a><br>
".$locale['041'].showdate("longdate", $info['news_date'])." <br>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#183;\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#183;
".$info['news_reads'].$locale['044']."</font>
</td>
</td>
</tr>
<tr>
<td colspan='6'>
<img id='lay1_14' src='".THEME."images/lay1_14.gif' width='650' height='7' alt='' /></td>
</tr>
</table>\n";

}

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

global $locale;
echo "
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">   <tr>
      <td colspan='6' background='".THEME."images/lay1_16.gif' width='650' height='39'  style=\"border: 0; padding-top: 0; padding-left: 20; padding-right: 95; padding-bottom: 9;\">:: $subject</td>
   </tr>
   <tr>
      <td background='".THEME."images/lay1_11.gif' width='650' height='9'  style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 95; padding-bottom: 10;\">$article</td>
</tr>
   <tr>
      <td colspan='6'>
         <img id='fifa_11' src='".THEME."images/lay1_11.gif' width='650' height='9' alt='' /></td>
   </tr>
   <tr>
      <td colspan='6'>
         <img id='fifa_11' src='".THEME."images/lay1_20a.gif' width='650' height='9' alt='' /></td>
   </tr>
   <tr>
<td colspan='4' background='".THEME."images/lay1_11.gif' style=\"border: 0; padding-top: 0; padding-left: 60; padding-right: 95; padding-bottom: 10;\"  align='right' >
<font color='#949494'><center>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a><br>
".$locale['041'].showdate("longdate", $info['article_date'])."<br>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
<tr>
     <td><img src='".THEME."images/lay1_14.gif' border=\"0\" width='650' height='7' /></td>
</tr>

</table>

\n";

}

function opentable($title) {

echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width='650' >
<tr>
      <td background='".THEME."images/lay1_16.gif'  width='650' height='39'  colspan='6' style=\"border: 0; padding-top: 0; padding-left: 20; padding-right: 95; padding-bottom: 9;\">$title</td>
</tr>
<tr>   
     <td colspan='6' background='".THEME."images/lay1_11.gif' width='650'  style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 95; padding-bottom: 10;\">\n";

}

function closetable() {

echo "</tr>
<tr>
     <td><img src='".THEME."images/lay1_14.gif' border=\"0\" width='650' height='7' /></td>

</td>
</tr>
<tr>

</table>\n";

}

function openside($title) {

echo "  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"350\">
<tr>
   <tr>
      <td background='".THEME."images/lay1_08.gif' width=\"350\" height='39'  colspan='4' style=\"border: 0; padding-top:9; padding-left: 90; padding-right: 10; padding-bottom: 10;\" > :: $title</td>
   </tr>
   <tr>
      <td colspan='4' background='".THEME."images/lay1_10.gif' width=\"350\"  style=\"border: 0; padding-top: 10; padding-left: 75; padding-right: 15; padding-bottom: 10;\">
   ";
}

function closeside() {

echo "</td>
</tr>
<tr>
     <td><img src='".THEME."images/lay1_13.gif' border=\"0\" height=\"7\" width=\"350\" /></td>
</tr>

</table>\n";
tablebreak();

}

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

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}

function closesidel() {
echo "</td>
</tr>
</table>\n";
}

function tablebreak() {

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

}
?>




Gyvenimas liudnas. Gerai, kad nors atlyginimas juokingas
Redagavo nwk 2010 Sau. 31 20:01:59
Peršokti į forumą: