Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes |
Autorius: valduxas97 | Peržiūrų: 1223 |
valduxas97 Narys Žalias Pranešimai: 17 Įstojęs: 2010 Lie. 7 13:07:27 | |
Sveiki, gal kas sutvarkytu tema kad eitu ant pimped fusion? Theme.php <?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "100%"); define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { global $settings, $main_style, $theme_width, $userdata, $aidlink, $settings, $db_prefix; //Header1 (SVECIAS) echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>"; if (iGUEST) { echo"<td class='header'> <div class='reg'> <form name='loginform' method='post' action='".FUSION_SELF."'> <input type='text' name='user_name' value='vartotojas' onfocus=\"if(this.value=='vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='vartotojas';}\" class='loginbox'> <input type='password' name='user_pass' value='slaptažodis' onfocus=\"if(this.value=='slaptažodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='slaptažodis';}\" class='loginbox2'> <input type='submit' name='login' value='' class='pb'> </form> </div> <div class='regTxt'><p align='left'><a href='../register.php'>Resgistracija</a> <br> <a href='../lostpassword.php'>Pamirsai slaptazodi?</a></p></div> </div> </td>"; } //Header1 (NARYS) echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>"; if (iMEMBER) { echo"<td class='header'> <center> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>Mano profilis</a> <span style='color: #777;'>-</span> <a href='".BASEDIR."edit_profile.php'>redaguoti</a> <a href='messages.php'>Pranesimai</a> ".((iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) ? "<a href='".ADMIN."index.php".$aidlink."'><span style='color: #13bf1e;'>Administracija</a><?span>" : "")." <a href='".BASEDIR."setuser.php?logout=yes'>Atsijungti</a> </center> </td>"; } echo "</table>\n"; //Header2 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='header2'> <div class='reklama'><a href='http://dekoter.tt.lt'><img border='0' src='".THEME."images/dekoterbanner.jpg' </a></div> </td> </tr> </table>\n"; //Header3 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='header3'> <div class='slider'> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script> <script src=\"".THEME."jquery.nivo.slider.js\" type=\"text/javascript\"></script> <script type=\"text/javascript\"> $(window).load(function() { $('#slider').nivoSlider({ effect: 'sliceUpRight', animSpeed:500, //Slide transition speed pauseTime:7000, controlNav: false }); $('#slider').data('nivo:vars').stop = false; }); </script> <div id='slider'> <img src='".THEME."images/karib.png' alt='' /> <img src='".THEME."images/karib.png' alt='' /> <img src='".THEME."images/karib.png' alt='' /> </div> </div> <div class='filmai'> <div class='filmai1'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> <div class='filmai2'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> <div class='filmai3'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> </div> </td> </tr> </table>\n"; //Header2 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='migtukai'> <div class='a'><a href='/index.php'>Pagrindinis</a></div> <div class='aa'><a href='/viewpage.php?page_id=3'>Prasyk filmo</a></div> <div class='aaa'><a href='/viewpage.php?page_id=2'>Konkursai</a></div> <div class='aaaa'><a href='/forum/index.php'>Forumas</a></div> <div class='aaaaa'><a href='/viewpage.php?page_id=4'>Reklama</a></div> <div class='aaaaaa'><a href='/viewpage.php?page_id=1'>Kontaktai</a></div> <div class='laikas'>Yra filmų: ".dbcount("(news_id)", DB_NEWS)." | Viso peržiūrų:\n"; include THEME."double_news_panel.php"; echo " </div> </td> </tr> </table>\n"; //Content echo "<table align='center' cellpadding='0' cellspacing='0' width='975' align='center' class='$main_style'>\n<tr>\n"; echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>"; if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; } echo "</tr>\n</table>\n"; echo "</tr>\n</table>\n"; //Footer echo "</tr>\n</table>\n"; } function render_news($subject, $news, $info) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'><div class='pavadinimas'>$subject</div><div class='reitingas'><div class='komentarai'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Žiūrėti filmą</a> | Komentarų: ".$info['news_comments']."</div></div> </div></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".$news."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td>\n</tr>\n</table>\n"; } function opentable($title) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'>".$title."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='310' class='border'>\n<tr>\n"; echo "<td class='scapmain'>".$title."</td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\n"; echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } ?> :) |
timas126 Narys Margas Pranešimai: 96 Įstojęs: 2010 Gru. 6 22:12:58 | |
<?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "100%"); define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { global $settings, $main_style, $theme_width, $userdata, $aidlink, $settings, $db_prefix; //Header1 (SVECIAS) echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>"; if (iGUEST) { echo"<td class='header'> <div class='reg'> <form name='loginform' method='post' action='".FUSION_SELF."'> <input type='text' name='user_name' value='vartotojas' onfocus=\"if(this.value=='vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='vartotojas';}\" class='loginbox'> <input type='password' name='user_pass' value='slaptažodis' onfocus=\"if(this.value=='slaptažodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='slaptažodis';}\" class='loginbox2'> <input type='submit' name='login' value='' class='pb'> </form> </div> <div class='regTxt'><p align='left'><a href='../register.php'>Resgistracija</a> <br> <a href='../lostpassword.php'>Pamirsai slaptazodi?</a></p></div> </div> </td>"; } //Header1 (NARYS) echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>"; if (iMEMBER) { echo"<td class='header'> <center> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>Mano profilis</a> <span style='color: #777;'>-</span> <a href='".BASEDIR."edit_profile.php'>redaguoti</a> <a href='messages.php'>Pranesimai</a> ".((iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) ? "<a href='".ADMIN."index.php".$aidlink."'><span style='color: #13bf1e;'>Administracija</a><?span>" : "")." <a href='".BASEDIR."setuser.php?logout=yes'>Atsijungti</a> </center> </td>"; } echo "</table>\n"; //Header2 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='header2'> <div class='reklama'><a href='http://dekoter.tt.lt'><img border='0' src='".THEME."images/dekoterbanner.jpg' </a></div> </td> </tr> </table>\n"; //Header3 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='header3'> <div class='slider'> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script> <script src=\"".THEME."jquery.nivo.slider.js\" type=\"text/javascript\"></script> <script type=\"text/javascript\"> $(window).load(function() { $('#slider').nivoSlider({ effect: 'sliceUpRight', animSpeed:500, //Slide transition speed pauseTime:7000, controlNav: false }); $('#slider').data('nivo:vars').stop = false; }); </script> <div id='slider'> <img src='".THEME."images/karib.png' alt='' /> <img src='".THEME."images/karib.png' alt='' /> <img src='".THEME."images/karib.png' alt='' /> </div> </div> <div class='filmai'> <div class='filmai1'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> <div class='filmai2'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> <div class='filmai3'> <a href='index.php'>Lietuviskas kinas</a> <br> <a href='index.php'>Animacija</a> <br> <a href='index.php'>Drama</a> <br> <a href='index.php'>Siaubo</a> <br> </div> </div> </td> </tr> </table>\n"; //Header2 echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'> <tr> <td class='migtukai'> <div class='a'><a href='/index.php'>Pagrindinis</a></div> <div class='aa'><a href='/viewpage.php?page_id=3'>Prasyk filmo</a></div> <div class='aaa'><a href='/viewpage.php?page_id=2'>Konkursai</a></div> <div class='aaaa'><a href='/forum/index.php'>Forumas</a></div> <div class='aaaaa'><a href='/viewpage.php?page_id=4'>Reklama</a></div> <div class='aaaaaa'><a href='/viewpage.php?page_id=1'>Kontaktai</a></div> <div class='laikas'>Yra filmų: ".dbcount("(news_id)", DB_NEWS)." | Viso peržiūrų:\n"; include THEME."double_news_panel.php"; echo " </div> </td> </tr> </table>\n"; //Content echo "<table align='center' cellpadding='0' cellspacing='0' width='975' align='center' class='$main_style'>\n<tr>\n"; echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>"; if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; } echo "</tr>\n</table>\n"; echo "</tr>\n</table>\n"; //Footer echo "</tr>\n</table>\n"; if (!$license) { echo "<br /><br />\n".showcopyright(); } } function render_news($subject, $news, $info) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'><div class='pavadinimas'>$subject</div><div class='reitingas'><div class='komentarai'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Žiūrėti filmą</a> | Komentarų: ".$info['news_comments']."</div></div> </div></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".$news."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td>\n</tr>\n</table>\n"; } function opentable($title) { echo "<table align='center' cellpadding='0' cellspacing='0' width='648'>\n<tr>\n"; echo "<td class='capmain'>".$title."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='310' class='border'>\n<tr>\n"; echo "<td class='scapmain'>".$title."</td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\n"; echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } ?> uzdek +11 man 0 |
Peršokti į forumą: |