Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems |
Autorius: Colorky | Peržiūrų: 2494 |
Narys Fruktas Pranešimai: 26 Įstojęs: 2009 Bir. 19 14:06:02 | |
<?php if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#C0B5B3"; $body_bg = "#F7F7EF"; $theme_width = "715"; $theme_width_l = "220"; $theme_width_r = "220"; function render_header($header_content) { global $theme_width,$settings,$db_prefix,$locale,$data,$userdata,$user_data,$poll_id,$voteoption,$poll_option,$itemsubject,$aidlink; echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'> <tr> <td> <table cellpadding='0' cellspacing='0' width='100%' class='navigation'> <tr><td class='header'><img src='".THEME."logo.png'></td></tr> </table> <table cellpadding='0' cellspacing='0' width='100%' class='navigation'> <tr> <td align='center'>".showsublinks("","white")."</td> </tr> </table>\n"; echo "<table cellpadding='0' cellspacing='0' width='330'>\n<tr> <td class='line'><marquee scrollamount='1' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee</td> </tr> </table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr> <td class='sub'></td> </tr> </table>\n"; echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr> <td align='left' width='120'>"; include THEME."user_info_panel.php"; echo "</td> <td align='center' width='97'><br><br>"; echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height='70'></center><br>\n" : "<center><a href='".BASEDIR."edit_profile.php'><img src='".THEME."images/avatar.gif' border='0' width='70' height='70'></a></center>\n").""; echo "</td> <td align='center' width='306'>"; include THEME."forum_threads_panel.php"; echo "</td> <td align='center' width='195'>"; include THEME."member_poll_panel.php"; echo "</td> </tr> </table><br>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; } function render_footer($license=false) { global $theme_width,$settings; echo "</tr>\n</table>\n"; echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='footer'> <tr> <td width='92'><a href='news.php?readmore=".$info['news_id']."' style='color:#000;'>PHP-Fusion</a> </td> <td width='530'> ".stripslashes($settings['footer'])."</td> <td width='93'><img src='".THEME."images/made_by.png'> <a href='http://www.emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { global $aidlink,$item_type; $res = ""; echo "<table align='center' cellpadding='0' cellspacing='0' width='485'> <tr> <td class='capmain'>$subject<br><span style='font-size : 10px;font-weight : normal;'>parašė: <a href='profile.php?lookup=".$info['user_id']."' style='color:#EBE2D1;'>".$info['user_name']."</a>, ".showdate("shortdate", $info['news_date'])."</span></td> </tr> <tr> <td class='main-body'>$news</td> </tr> <tr> <form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'> <td align='right' class='news-footer'>komentarų: ".$info['news_comments']." - <a href='news.php?readmore=".$info['news_id']."' style='color:#E6DED1;'>žiūrėti</a> "; if (iADMIN && checkrights(N)) { echo "- <input type='hidden' name='edit' value='edit'><a href='javascriptocument.editnews".$info['news_id'].".submit();' style='color:#E6DED1;'>redaguoti</a>"; } echo "</td> </form> </tr> </table>\n"; } function render_article($subject, $article, $info) { global $aidlink,$item_type; $res = ""; echo "<table align='center' cellpadding='0' cellspacing='0' width='485'> <tr> <td class='capmain'>$subject<br><span style='font-size : 10px;font-weight : normal;'>parašė: <a href='profile.php?lookup=".$info['user_id']."' style='color:#EBE2D1;'>".$info['user_name']."</a>, ".showdate("shortdate", $info['article_date'])."</span></td> </tr> <tr> <td class='main-body'> ".($info['article_breaks'] == "y" ? nl2br($article) : $article)." </td> </tr> <tr> <form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'> <td class='news-footer'>komentarų: ".$info['article_comments']." - <a href='print.php?type=A&item_id=".$info['article_id']."' style='color:#E6DED1;'>spausdinti</a> "; if (iADMIN && checkrights(A)) { echo "- <input type='hidden' name='edit' value='edit'><a href='javascriptocument.editarticle".$info['articles_id'].".submit();' style='color:#E6DED1;'>redaguoti</a>"; } echo "</td> </form> </tr> </table>\n"; } function opentable($title) { echo "<table align='center' cellpadding='0' cellspacing='0' width='485'> <tr> <td class='capmain'>$title</td> </tr> <tr> <td class='main-body'>\n"; } function closetable() { echo "</td> </tr> <td align='center' class='news-footer'></td> </table>\n"; } function openside($title) { echo "<table align='center' cellpadding='0' cellspacing='0' width='220'> <tr> <td class='scapmain'>$title</td> </tr> <tr> <td class='side-body'>\n"; } function closeside() { echo "</td> </tr> <tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr> </table>\n"; tablebreak(); } function openside_header($title) { echo "<table align='center' cellpadding='0' cellspacing='0'> <tr> <td class='side-body-header'>\n"; } function closeside_header() { echo "</td> </tr> </table>\n"; tablebreak(); } function opensidex($title,$state="on") { $boxname = str_replace(" ", "", $title); echo "<table align='center' cellpadding='0' cellspacing='0' width='220'> <tr> <td class='scapmain'>$title</td> <td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td> </tr> <tr> <td colspan='2' class='side-body'> <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n"; } function closesidex() { echo "</div> </td> </tr> <tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr> </table>\n"; tablebreak(); } function tablebreak() { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n"; } ?> Esu naujokas dar taip kad klausiu kaip man pakeisti šiame dizaine kur yra forumo temos į naujausi siuntiniai |
|
Funo Narys Terminatorius Pranešimai: 1430 Įstojęs: 2009 Sau. 28 16:01:38 | |
isjunk smailus |
|
darKy VIP narys Terminatorius Pranešimai: 1284 Įstojęs: 2008 Lap. 10 10:11:05 | |
IR PARODYK PAVIZDĮ ARBA PLAČIAU PARAŠYK KO NORI, NES NELABAI SUPRATAU... www.ls-planet.com |
|
samsung123 Narys Terminatorius Pranešimai: 1610 Įstojęs: 2007 Spa. 15 17:10:09 | |
vietoj:<td align='center' width='306'>"; rašyk: <td align='center' width='306'>"; veiks 100 prc. |
|
Narys Fruktas Pranešimai: 26 Įstojęs: 2009 Bir. 19 14:06:02 | |
Nu kad neveikia error meta |
|
samsung123 Narys Terminatorius Pranešimai: 1610 Įstojęs: 2007 Spa. 15 17:10:09 | |
eik tu kibire, įsidėt išmok ;] |
|
shit- Narys Generolas Pranešimai: 1020 Įstojęs: 2009 Sau. 2 12:01:24 | |
Tai pasakyk kokį error. Arba daryk kitaip, susikurk failą: paskutiniai_siuntiniai tuomet ten isidėk tą kodą, o themoje includink. |
|
And2s VIP narys Pulkininkas Pranešimai: 329 Įstojęs: 2009 Bal. 30 19:04:04 | |
<?php |
Peršokti į forumą: |