Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del temos :)

Parašė Inspire· 2013 Bal. 3 18:04:40
#10

theme.php -

<div style="position:fixed ;bottom:10px; left:0px; width:110px; height:83px; no-repeat; z-index: 1"><a href="http://www.facebook.com/topfilmai.net" target="_blank">
<img src='http://gtav.net23.net/themes/DIZAINAS2/images/facebook1.png' onmouseover="this.src='http://gtav.net23.net/themes/DIZAINAS2/images/facebook.png'" onmouseout="this.src='http://gtav.net23.net/themes/DIZAINAS2/images/facebook1.png'" >
</a></div>

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'>&raquo;</span>");
define("ALL_WIDTH", "1079");
define("PANEL_WIDTH", "283");
define("TABLE_WIDTH", "778");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {
   
   global $settings, $main_style, $locale, $mysql_queries_time;





echo "<table border='0' align='center' cellspacing='0' cellpadding='0'><tr><td>";


echo "<table border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<img src='".THEME."images/body/header3.png'>";
echo "</table>";

echo "</td><td>";


echo "<table border='0' cellspacing='0' cellpadding='0'><tr><td>";

//Prisijungimas
include THEME."kodas/login.php";
echo "</td></tr><tr><td>";


//Reklama

?>
<style type="text/css">
ul.reklama {
   position: relative;
}

.reklama x {
   list-style-type: none;
   position: absolute;
   margin-top: 0;
   left: 0;
}
</style>
<ul class="reklama">
   <x><a target='_blank'<a href="http://esfg.lt/"><img src="http://s9.postimg.org/58oi9r527/bc2a54c4714e3a6470be1c306e4940bf846.gif" alt="Linksmasis San Fierro Gyvenimas" width="475" height="65" border="3"></a></img></x>
   
   <x><a target='_blank'<a href="http://blaradio.ofl.lt/"><img src="http://blaradio.ofl.lt/images/bla.gif" alt="Blaradio" width="475" height="65" border="3"></a></img></x>
   
   <x><a target='_blank'<a href="http://filmaionline.net23.net/"><img src="http://filmaionline.net23.net/themes/DIZAINAS4/images/bus.jpg" alt="REKLAMA" width="475" height="65" border="3"></a></img></x>
</ul>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://avice.us.lt/x.js"></script>
<?


//Registracija
echo"<div align='center'><div class='core'><span style='color:white'>Nesi narys? </span><a href='".BASEDIR."register.php'>Užsiregistruok</a><span style='color:white'> | Pamiršai slaptažodį? </span><a href='".BASEDIR."lostpassword.php'>Spausk èia !</a></div>";
echo "</td></tr><tr><td>";

//Logotipas
echo"<img src='".THEME."images/logotipai/logotipas_velykos2.png' ' /></a>";
echo "</td></tr></table>";



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

       

   
   //Navigacija

   echo "<table align='center' width='".ALL_WIDTH."' height='39' cellspacing='0' cellpadding='0' class='navigacija'><tr>
   <td style='padding-left: 10px; padding-right: 10px;'>
   <a href='".BASEDIR."filmai.php'><span style='color:#78b434'>Pagrindinis</span></a>
   <span style='padding-left: 3px;'></span>
   <a href='".BASEDIR."filmai.php?kat_id=5'>Serialai</a>
   <span style='padding-left: 3px;'></span>
   <a href='".BASEDIR."viewpage.php?page_id=1'>Reklama</a>
   <span style='padding-left: 3px;'></span>
   <a href='".BASEDIR."paieska.php'>Filmø paieðka</a>
   <span style='padding-left: 3px;'></span>
   <a href='".BASEDIR."viewpage.php?page_id=2'>Pageidavimai</a>
   <span style='padding-left: 3px;'></span>
   <a href='".BASEDIR."contact.php'>Kontaktai</a>
   <span style='padding-left: 3px;'></span>
   </td>
   </tr></table>";


                     //Tarpas tarp navigacijos ir tarp slideshow
   echo "<table align='center' width='1079' height='3' cellspacing='0' cellpadding='0'>\n</table>\n";
   
 

   //Slideshow
                       echo "<table align='center' width='1079' cellspacing='0' cellpadding='0' class='etervidus'>\n<tr>\n<td>\n
   <table align='center' width='1079' cellspacing='0' cellpadding='0' class='eteris'>\n<tr>\n
   ";
   echo"
   <td align='center' valign='top' style='padding-top: 50px;' width='316'>
   ";
   echo'
   <div style="float:left;
   margin-top:-18px;"><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Ftopfilmai.net&amp;width=320&amp;height=250&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color=white&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:315px; height:239px;" allowTransparency="true"></iframe></div>
';

echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
           <tr>
            <td width='100' style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=1'style='color:#ffffff;'>Animacija</a></td>
            <td style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=9' style='color:#ffffff;'>Drama</a></td>

<td style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=6' style='color:#ffffff;'>Fantastiniai</a></td>
         
           
           <tr>
            <td style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=10' style='color:#ffffff;'>Kariniai</a></td>
            <td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=2' style='color:#ffffff;'>Komedija</a></td>
           

<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=4' style='color:#ffffff;'>Nuotykiai</a></td>
           
           <tr>
            <td style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=7' style='color:#ffffff;'>Romantiniai</a></td>
            <td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=5' style='color:#ffffff;'>Serialai</a></td>
         

<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=8' style='color:#ffffff;'>Siaubo</a></td> 
           
           <tr>
            <td style='padding:2px;color:#ffffff;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=3' style='color:#ffffff;'>Veiksmo</a></td>
            <td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=kazkoks' style='color:#ffffff;'>Laidos</a></td>
     

<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='/filmai.php?kat_id=kazkoks' style='color:#ffffff;'>Istoriniai</a></td>     
           
           
         </table>";

   echo"
   \n<div style='padding-right: 10px;'>\n
   <table align='center' cellspacing='0' cellpadding='0'>\n<tr>\n<td align='center'>\n
   
   

   </td>\n</tr>\n</table>\n
   </td>\n</div>\n
   <td align='center' width='720' valign='top'>";
   include THEME."failai/slideshow/img.php";

    echo "<div style='padding-right: 0px;'>\n";
   echo "<a href='".BASEDIR."index.php'>\n";
   echo "<img src='".THEME."images/header/reklama/reklama2.jpg' width='750' height='100' border='0'>\n";



   echo "</div>\n";
   echo "</div>\n";
   echo "</td>\n";
   echo "</tr>\n</table>\n";
   echo "</td>";
   
   echo "</tr>\n</table>\n
   </td>\n</tr>\n</table>\n";

   //Content
   echo "<table width='".ALL_WIDTH."' height='5' cellspacing='0' cellpadding='0'></table>";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='".ALL_WIDTH."' class='$main_style'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   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 "<table align='center' width='".ALL_WIDTH."' height='5' cellspacing='0' cellpadding='0'></table>";
   echo "<table align='center' width='".ALL_WIDTH."' height='5' cellspacing='0' cellpadding='0'><tr>
   
   <td width='8'>
   </tr></table>";
   
   //APATINE REKLAMA 120x60
                       echo "<table align='center' width='1079' cellspacing='0' cellpadding='0' class='draugu_reklamos'>\n<tr>\n<td>\n
                      <table align='center' width='1079' cellspacing='0' cellpadding='0' class='draugu_reklamos'>\n<tr>\n
   ";
   echo'
   <div style="float:center;"><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama" src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama" src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"></a><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="120" height="60"><a href="http://filmaionline.net23.net/"
target="_blank"><img alt="Reklama"
src="http://filmaionline.net23.net/themes/DIZAINAS4/images/120x60.jpg" border="0" width="118" height="60"></a><table</div>
   ';
   echo"
   <td align='center' valign='top' style='padding-top: 50px;' width='316'>
   ";
   echo"
   \n<div style='padding-right: -450px;'>
   \n
   <table align='center' cellspacing='0' cellpadding='0'>\n<tr>\n<td align='center'>\n
   
   

   </td>\n</tr>\n</table>\n
   </td>\n</div>\n
   <td align='center' width='720' valign='top'>";
   
   //Footer
   echo "<table align='center' width='".ALL_WIDTH."' height='5' cellspacing='0' cellpadding='0'></table>";
   echo "<table align='center' width='".ALL_WIDTH."' height='39' cellspacing='0' cellpadding='10' class='footeris'><tr>

   <td align='left' style='padding-left: 10px;'>
   Dizainà kodavo:<a href='skype:mantas_jankauskas?chat'>MantaX</a>
   <br>
   Dizainà nupieðë:<a href='skype:mantas_jankauskas?chat'>MantaX</a>


<td align='left' style='padding-right: 15px;'><a target='_blank' href='http://www.hey.lt/details.php?id=mantax36'><img width=85 height=35 border=0 src='//www.hey.lt/count.php?id=mantax36' alt='Hey.lt - Nemokamas lankytoju skaitliukas'></a></td>
   </td>


<td align='right' style='padding-right: 20px;'><a href='http://topfilmai.net/' target='_blank'>Reklama<span style='color:red'>|</span></a>
<a href='http://topfilmai.net/' target='_blank'>Reklama<span style='color:red'>|</span></a>
<a href='http://topfilmai.net/' target='_blank'>Reklama<span style='color:red'>|</span></a>
<a href='http://topfilmai.net/' target='_blank'>Reklama<span style='color:red'>|</span></a></td>



   </td>
   <td align='right' style='padding-right: 10px;'>
    Visos teisės saugomos TopFilmai.NET - kopijuoti draudžiama!
   <br>
   Sukurta: 2012-2013
   </td>
   </tr></table>";
   
   
   /*foreach ($mysql_queries_time as $query) {
      echo $query[0]." QUERY: ".$query[1]."<br />";
   }*/

}

/* New in v7.02 - render comments */
function render_comments($c_data, $c_info){
   global $locale, $settings;
   opentable($locale['c100']);
   if (!empty($c_data)){
      echo "<div class='comments floatfix'>\n";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
      }
         foreach($c_data as $data) {
           $comm_count = "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a>";
         echo "<div class='tbl2 clearfix floatfix'>\n";
         if ($settings['comments_avatar'] == "1") { echo "<span class='comment-avatar'>".$data['user_avatar']."</span>\n"; }
           echo "<span style='float:right' class='comment_actions'>".$comm_count."\n</span>\n";
         echo "<span class='comment-name'>".$data['comment_name']."</span>\n<br />\n";
         echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
   if ($data['edit_dell'] !== false) { echo "<br />\n<span class='comment_actions'>".$data['edit_dell']."\n</span>\n"; }
         echo "</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
      }
      echo "</div>\n";
   } else {
      echo $locale['c101']."\n";
   }
   closetable();   
}

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

   echo "<table cellpadding='0' cellspacing='0' width='".TABLE_WIDTH."' class='table-up'>\n<tr><td>
   <table width='100%' cellspacing='0' cellpadding='0'><tr>
   <td align='left' style='padding-left: 36px;'>".$subject."</td>
   <td align='right' style='padding-right: 36px;'>BY: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".showdate("shortdate", $info['news_date'])."</td>
   </tr></table>
   </td></tr>\n</table>\n";
   echo "<table width='".TABLE_WIDTH."' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='table-body middle-border'>".$info['cat_image'].$news."</td>\n";
   echo "</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table width='".TABLE_WIDTH."' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='table-up'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='".TABLE_WIDTH."' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='table-body middle-border'>".($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," &middot;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='".TABLE_WIDTH."'>\n<tr>\n";
   echo "<td class='table-up'>".$title."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='".TABLE_WIDTH."' class='spacer'>\n<tr>\n";
   echo "<td class='table-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr></table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='".PANEL_WIDTH."'>\n<tr>\n";
   echo "<td class='panel-up'>".$title."</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='panel-up' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='".PANEL_WIDTH."' class='spacer'>\n<tr>\n";
   echo "<td class='panel-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}