Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikia pagalbos

Parašė arnas120· 2011 Bir. 3 16:06:00
#1

Sveiki man reiketu pagalbos kazkodel dizaine kai pridedi naujiena nera skaityti daugiau gal galetumet ji prideti

stai theme.php

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";


function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$aidlink;

      echo "<table align='center' cellspacing='0' cellpadding='0' width='940' style='margin-top: -8px;'>
<tr>
<td cellspacing='0' cellpadding='0' width='940' class='hed'>
<div style='padding-top:3px; padding-right: 49px;' align='right'><a href='http://www.serveroffer.lt/'><img src='http://www.serveroffer.lt/images/ds_468x60_v1.gif' /></a></div>
</td>
</tr>
<table cellpadding='0' cellspacing='0' width='940' align='center'>
<tr>
<td><a href='".BASEDIR."pradinis.html'><img border='0' src='".THEME."images/links/pagrindinis.png' width='107' height='36' onmouseover=\"this.src='".THEME."images/links/pagrindinis_on.png'\"  onmouseout=\"this.src='".THEME."images/links/pagrindinis.png'\"></a></td>
<td><a href='".BASEDIR."forumas.html'><img border='0' src='".THEME."images/links/forumas.png' width='93' height='36' onmouseover=\"this.src='".THEME."images/links/forumas_on.png'\"  onmouseout=\"this.src='".THEME."images/links/forumas.png'\"></a></td>
<td><a href='".BASEDIR."failai.html'><img border='0' src='".THEME."images/links/siuntiniai.png' width='98' height='36' onmouseover=\"this.src='".THEME."images/links/siuntiniai_on.png'\"  onmouseout=\"this.src='".THEME."images/links/siuntiniai.png'\"></a></td>
<td><a href='".BASEDIR."galerija.html'><img border='0' src='".THEME."images/links/galerija.png' width='90' height='36' onmouseover=\"this.src='".THEME."images/links/galerija_on.png'\"  onmouseout=\"this.src='".THEME."images/links/galerija.png'\"></a></td>
<td><a href='".BASEDIR."straipsniai.html'><img border='0' src='".THEME."images/links/straipsniai.png' width='106' height='36' onmouseover=\"this.src='".THEME."images/links/straipsniai_on.png'\"  onmouseout=\"this.src='".THEME."images/links/straipsniai.png'\"></a></td>
<td><a href='".BASEDIR."kodai.html'><img border='0' src='".THEME."images/links/kodai.png' width='77' height='36' onmouseover=\"this.src='".THEME."images/links/kodai_on.png'\"  onmouseout=\"this.src='".THEME."images/links/kodai.png'\"></a></td>
<td><a href='".BASEDIR."siuzetai.html'><img border='0' src='".THEME."images/links/siuzetai.png' width='88' height='36' onmouseover=\"this.src='".THEME."images/links/siuzetai_on.png'\"  onmouseout=\"this.src='".THEME."images/links/siuzetai.png'\"></a></td>
<td><a href='".BASEDIR."paieska.html'><img border='0' src='".THEME."images/links/paieska.png' width='86' height='36' onmouseover=\"this.src='".THEME."images/links/paieska_on.png'\"  onmouseout=\"this.src='".THEME."images/links/paieska.png'\"></a></td>
<td><a href='".BASEDIR."reklama.html'><img border='0' src='".THEME."images/links/reklama.png' width='93' height='36' onmouseover=\"this.src='".THEME."images/links/reklama_on.png'\"  onmouseout=\"this.src='".THEME."images/links/reklama.png'\"></a></td>
<td><a href='".BASEDIR."kontaktai.html'><img border='0' src='".THEME."images/links/kontaktai.png' width='102' height='36' onmouseover=\"this.src='".THEME."images/links/kontaktai_on.png'\"  onmouseout=\"this.src='".THEME."images/links/kontaktai.png'\"></a></td>
</tr>
</table>
<tr>
<table align='center' cellspacing='0' cellpadding='0' width='940'>
<td cellspacing='0' cellpadding='0' width='601' class='slide'>";

echo "<script type='text/javascript' src='js/jquery-1.3.1.min.js'></script>
<script type='text/javascript'>

$(document).ready(function() {      
   
   //Execute the slideShow
   slideShow();

});

function slideShow() {

   //Set the opacity of all images to 0
   $('#gallery a').css({opacity: 0.0});
   
   //Get the first image and display it (set it to full opacity)
   $('#gallery a:first').css({opacity: 1.0});
   
   //Set the caption background to semi-transparent
   $('#gallery .caption').css({opacity: 0.7});

   //Resize the width of the caption according to the image width
   $('#gallery .caption').css({width: $('#gallery a').find('img').css('width')});
   
   //Get the caption of the first image from REL attribute and display it
   $('#gallery .content').html($('#gallery a:first').find('img').attr('rel'))
   .animate({opacity: 0.7}, 400);
   
   //Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
   setInterval('gallery()',6000);
   
}

function gallery() {
   
   //if no IMGs have the show class, grab the first image
   var current = ($('#gallery a.show')?  $('#gallery a.show') : $('#gallery a:first'));

   //Get next image, if it reached the end of the slideshow, rotate it back to the first image
   var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery a:first') :current.next()) : $('#gallery a:first'));   
   
   //Get next image caption
   var caption = next.find('img').attr('rel');   
   
   //Set the fade in effect for the next image, show class has higher z-index
   next.css({opacity: 0.0})
   .addClass('show')
   .animate({opacity: 1.0}, 1000);

   //Hide the current image
   current.animate({opacity: 0.0}, 1000)
   .removeClass('show');
   
   //Set the opacity to 0 and height to 1px
   $('#gallery .caption').animate({opacity: 0.0}, { queue:false, duration:0 }).animate({height: '1px'}, { queue:true, duration:300 });   
   
   //Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect
   $('#gallery .caption').animate({opacity: 0.7},100 ).animate({height: '50px'},500 );
   
   //Display the content
   $('#gallery .content').html(caption);
   
   
}

</script>
<style type='text/css'>
body{
   font-family:arial
}

.clear {
   clear:both
}

#gallery {
   position:relative;
   height:169px
}
   #gallery a {
      float:left;
      position:absolute;
   }
   
   #gallery a img {
      border:none;
   }
   
   #gallery a.show {
      z-index:500
   }

   #gallery .caption {
      z-index:600;
      background-color:#000;
      color:#ffffff;
      height:50px;
      width:100%;
      position:absolute;
      bottom:0;
   }

   #gallery .caption .content {
      margin:5px
   }
   
   #gallery .caption .content h3 {
      margin:0;
      padding:0;
      color:#009acf;
   }
   

</style>
<div id='gallery' style='padding-left:4px; padding-top:2px;'>

      <a>
      <img src='".THEME."images/lightning.jpg' alt='eRPG || Role-Play Gyvenimas' width='597' height='169' title='' alt='' rel='<h3>eRPG || Role-Play Gyvenimas</h3>eRPG Serveris, Sukurtas Jusu Zaidimui, Bei Laiko Praleidimui. Serverio Tipas Role-Play. Musu Svetaine: eRPG.LT'/>
   </a>

   <a>
      <img src='".THEME."images/iv.jpg' alt='Serveroffer Hostingas' width='597' height='169' title='' alt='' rel='<h3>Serveroffer Hostingas</h3>Serveroffer Hostas Yra Labai Patikimas Ir Saugus. eRPG Hostina Serveroffer.'/>
   </a>
   
   <a>
      <img src='".THEME."images/sa.jpg' alt='GTA San Andreas' width='597' height='169' title='' alt='' rel='<h3>GTA San Andreas</h3>Sis Zaidimas Yra Labai Linksmas Ir Idomus. Visai Kaip tikroveja. Beto Galima Per Ji Losti Sa-mp. Insistaliuokite Si Zaidima Ir Einam I eRPG || Role-Play Gyvenima.'/>
   </a>

   <div class='caption'><div class='content'></div></div>
</div>

</td>";
if (iMEMBER) {
echo "<td cellspacing='0' cellpadding='0' width='339' class='log2'>";
   $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   echo "<table width='339' border='0' cellspacing='0' cellpadding='0' style='padding-left: 0px; padding-top: 20px;'>
  <td class='sveikas' align='center'>Sveikas atvykęs, <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='sveikas'><b>".$userdata['user_name']."</b></a> - tu turi <a href='".BASEDIR."zinutes.html' class='sveikas'><b>".sprintf($msg_count)."</b></a> žinučių, tavo pasirinkimai:</td></table>";
echo "<table width='260' border='0' cellspacing='0' cellpadding='0' style='padding-left: 70px; padding-top: 15px;'>
<tr>
  <td>";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='70' height='70' style='border:2px solid #0077b5'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='70' height='70' style='border:2px solid #0077b5'></center>\n";
   }
   echo "</td>
   
    <td align='left'>> <a href='".BASEDIR."keisti-profili.html' class='sveikas'>redaguoti profilį</a><br>
> <a href='".BASEDIR."zinutes.html' class='sveikas'>asmeninės žinutės</a><br>
> <a href='".BASEDIR."nariai.html' class='sveikas'>narių sąrašas</a><br>
> <a href='".BASEDIR."pateikti-foto.html' class='sveikas'><b>pateikti foto</b></a><br>\n";
   if (iADMIN) {
      echo "> <a href='".ADMIN."index.php".$aidlink."' class='sveikas'><b>Administracija</b></a><br>\n";
}
   echo "> <a href='".BASEDIR."atsijungti.html' class='sveikas'>Atsijungti</a>
</td></tr>
</td></table>";

} else {
echo "<td cellspacing='0' cellpadding='0' width='339' class='log'>";
   echo "<table width='230' border='0' cellspacing='0' cellpadding='0' align='center'>
   
   <form name='loginform' method='post' action='".FUSION_SELF."'>
   <table width='230' border='0' cellspacing='0' cellpadding='0' align='center' style='padding-left: 5px; padding-top: 42px;'>

  <tr>
    <td align='right'  style='padding-right: 80px;'></td>
    <td><input type='text' name='user_name' class='log-textbox' value='' style='width:169px; height:25px;'></td>
  </tr>
  <tr>
  <td height='5'></td>
  <td></td>
  </tr>
  <tr>
    <td align='right'  style='padding-left: 78px;'></td>
    <td><input type='password' name='user_pass' class='log-textbox'  value='' style='width:169px; height:25px;'></td>
  </tr>
    </table><br>
     <table width='230' border='0' cellspacing='0' cellpadding='0' align='center'  style=' padding-bottom: 12px; padding-left: 0px;'>
  <tr>
    <td align='center'>
    <td><input type='submit' name='login' value='Jungtis' class='log-button'> <a class='small' href=".BASEDIR."susipazinimas.html>Registracija</a> - <a class='small' href=".BASEDIR."priminti-slaptazodi.html>Slaptažodis</a></td>
  </tr>

  </form></div></table>";
}

echo"</td>

</tr></table>
<table align='center' cellspacing='0' cellpadding='0' width='940'>
<tr>
<td cellspacing='0' cellpadding='0' width='940' class='line'></td>
</tr>

       </table>\n";

   //Content

   echo "<table cellpadding='0' cellspacing='0' width='940' align='center' class='content'><tr>\n";
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (LEFT) { echo "<td class='side-border-left' valign='top' width='205'>".LEFT."</td>"; }
   if (RIGHT) { echo "<td class='side-border-right' valign='top' width='180'>".RIGHT."</td>"; }
         echo"</tr>
         </table>";

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

    //Footer

   echo "<table align='center' cellpadding='0' cellspacing='0' align='center' width='940' class='footer'>
   </table>
   <table align='center' cellpadding='0' cellspacing='0' align='center' width='940' class='footer2'><tr><td align='center' class='backlinkai'><a href='http://csgame.lt' title='Stabiliausi Counter-Strike Serveriai' target='_blank'>Csgame.lt - Nesigailek Žaidimo</a> / <a href='http://www.mes' title='mes linksmos foto, linksmi video, anekdotai, ' alt='mes linksmos foto, linksmi video, anekdotai,' target='_blank'>Juokingos foto, video</a> / <a href='http://themesbase.eu' target='_blank' title='ThemesBase.eu, free Themes download, Nemokami dizainai'>ThemesBase.eu</a> /
<a href='http://www.themes-lt.eu' title='nemokami dizainai' alt='nemokami dizainai'>Themes-lt.eu - nemokami dizainai</a> / <a href='http://movienews.lt' target='_blank' title='www.movienews.lt - Filmu naujienos internete!' />www.movienews.lt - Filmu naujienos internete!</a> / <a href='http://ZippyShare.LT' title='Nemokama mp3 muzika, zippyshare, daug dainu, nemokama, mp3, muzika, siustis, dainas, dykai, be vip, be    registracijos, dainu perklausa, dainos, nemokamai, lietuviskos dainos, rusiskos, angliskos, daug muzikos' target='_blank'>ZippyShare</a> / <a href='http://Nuotaika.Net' target='_blank'>Nuotaika.Net - Nes nuotaika mums reikalinga!!</a>
 / <a href='http://Www.KinoFilmai.In' target='_blank' title='Iženk i virtualu kino teatra ir nepasigailesi...'>Geriausi bei naujausi filmai internetu...</a> / <a href='http://online-tv.lt/' target='_blank' title=' serialai online,online,vedes ir turi vaiku,vilko bilietas,simpsonai,seimos bicas'>Tavo serialai online!</a> / <a href='http://cytai.tt.lt' target='_blank' title='CS cytai, CS:S cytai, SAMP cytai'>Nemokami CS, CS:S ir SAMP cytai</a> / <a href='http://photoshop.us.lt' target='_blank'>Photoshop.us.lt - Ivairiausi resursai photoshopui!</a>
 / <a href='http://www.mp3hunting.eu' target='_blank' title='Mp3Hunting Nemokama muzika'>Mp3Hunting.eu</a> / <a title='Nemokami flash žaidimai' href='http://www.zaidimai.y4.lt' target='_blank'>Nemokami flash žaidimai</a> / <a href='http://muz1ka.lt/' target='_blank' title='Trance / Club / Electro Pop / Hip-Hop / Rap Rock / Metal / Hardcore Ivairi Muzika'>muz1ka.lt Tik nemokama muzika!</a> / <a href='http://csdamage.net' target='_blank' title='counter strike serveriai'>Csdamage.net - cs servai</a> / <a href='http://csfan.lt/' target='_blank' title=' cs siuntiniai,pamokos,serveriai,video pamokos ir daug daugiau!'>Susikurk Counter-Strike serveri pats!</a>
 <br><br>";

}

function opentable2($title) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td width='100%' class='panel-main3'>$title</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body-ajax'>";

}

function closetable2() {

echo "</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>";
echo"<img src='".THEME."images/blank.gif' height='5' style='display:block'>";
}

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

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td width='100%' class='panel-main3'>".$subject."</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body-ajax'>".$news."</td>\n";
   echo "</td>\n";
   echo "</tr><tr>\n";
   echo "</tr>\n</table>\n";
      echo"<img src='".THEME."images/blank.gif' height='5' style='display:block'>";
}


function render_article($subject, $article, $info) {
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td width='100%' class='panel-main3'>".$subject."</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body-ajax'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
   echo "</td>\n";
   echo "</tr><tr>\n";
   echo "</tr>\n</table>\n";
      echo"<img src='".THEME."images/blank.gif' height='5' style='display:block'>";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='37' height='34' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main2'>$title</td>";
   echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='37' height='34' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='5' height='12' alt='' style='display:block'></td>";
   echo "<td class='reklama-body'>\n";
}

function closetable() {

   echo "</td>";
   echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='5' height='12' alt='' style='display:block'></td>";
echo "</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='border-bleft2' style='background-repeat: no-repeat;'><img src='".THEME."images/blank.gif' width='10' height='15' alt='' style='display:block'></td>
<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='10' height='15' alt='' style='display:block'></td>
<td class='border-bright2' style='background-repeat: no-repeat;'><img src='".THEME."images/blank.gif' width='10' height='15' alt='' style='display:block'></td>
</tr></table>\n";
}

function opentable3($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-left5'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main5'>$title</td>";
   echo "<td class='panel-right5'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left5'><img src='".THEME."images/blank.gif' width='5' alt='' style='display:block'></td>";
   echo "<td class='svarbi-body'>\n";
}

function closetable3() {

   echo "</td>";
   echo "<td class='border-right5'><img src='".THEME."images/blank.gif' width='5' alt='' style='display:block'></td>";
echo "</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='border-bleft5' style='background-repeat: no-repeat;'><img src='".THEME."images/blank.gif' width='5' height='11' alt='' style='display:block'></td>
<td class='border-bmain5'><img src='".THEME."images/blank.gif' width='5' height='11' alt='' style='display:block'></td>
<td class='border-bright5' style='background-repeat: no-repeat;'><img src='".THEME."images/blank.gif' width='5' height='11' alt='' style='display:block'></td>
</tr></table>\n";
}

function openside($title) {

  echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='panele'>$title</td>
</tr>";
  echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='side-body'>\n";

}

function closeside() {

   global $panel_collapse;
   if ($panel_collapse == true) { echo "</div>\n"; }
   echo "<tr>";
   echo "<td class='side-close'><img src='".THEME."images/blank.gif' width='1' height='7' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}


function openside2($title) {

  echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='panele2'>$title</td>
</tr>";
  echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='side-body2'>\n";

}

function closeside2() {

   global $panel_collapse;
   if ($panel_collapse == true) { echo "</div>\n"; }
   echo "<tr>";
   echo "<td class='side-close2'><img src='".THEME."images/blank.gif' width='1' height='7' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

?>




Dekoju is anksto :)