Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reiketu...

Parašė iNeT· 2008 Lap. 9 15:11:34
#1

Kas pades bus atsilyginta.



Style.css
a {
   color : #fd097c;
   text-decoration : none;
}

a:hover {
   color : #bd0471;
   text-decoration : underline;
}

a.prisijungimas {
   color : #FFFFFF;
   text-decoration : none;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 9px;
}
a:hover.prisijungimas {
    text-decoration : underline;
   color : #FFFFFF;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 9px;

}

a.prisijungimas2 {
   color : #666666;
   text-decoration : none;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 9px;
}
a:hover.prisijungimas2 {
    text-decoration : underline;
   color : #666666;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 9px;

}

a.footeris {
   text-decoration : none;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #c5c5c5;
}

a:hover.footeris {
   text-decoration : underline;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #c5c5c5;
}

a.news {
   color : #27AECC;
   text-decoration : none;
   font-weight : bold;
}

a:hover.news {
   color : #27AECC;
   text-decoration : underline;
   font-weight : bold;
}

a.side {
   color : #fd0296;
   text-decoration : none;
}

a:hover.side {
   color : #bd0471;
   text-decoration : none;
   border-bottom : #CBD75B 1px dashed;
}

a.white {
   color : #07b7e7;
   text-decoration : none;
}

a:hover.white {
   color : #0fa7d0;
   text-decoration : underline;
}

body {
   background-image: url('images/bg.png');
   color: #666666;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   margin : 0px
}

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #2dbfe4;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #2dbfe4;
}

td {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
}

pre {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
}

.alt {
   color : #626262;
}

.sub {
   background : url('images/BG_sub.png');
   width : 879px;
   height : 37px
}

.navi {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   width : 598px;
   height : 37px;
   color : #FFF;
   padding-left : 10px;
   padding-top : 2px;
}

.searchbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   width : 270px;
   height : 37px;
   color : #FFF;
}

.footer {
   background : url('images/them_22.png');
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #c5c5c5;
   height : 27px
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #FFF;
   background-color : #2BBEE0;
   height : 21px;
   border : 1px solid #F9F9F9;
   margin-top : 3px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #6b7274;
   background-color : #FDFDFD;
   border : 1px solid #1091b5;
   padding : 4px;
}

.main-body {
   font-size : 10px;
   color : #636363;
   background-color : #FFF;
   padding : 6px;
}

.main-body-table {
   background-color: #FFFFFF;
   font-size:10px;
   color:#666666;
   padding:10px;
}

.side-body {
   font-size : 10px;
   color:#373434;
   padding-top : 10px;
   padding-left : 14px;
}

.main-bg {
   background-color: #FFFFFF;
}
.kaire {
   background-image: url('images/kaire.png');
   width:14px;
}
.desine {
   background-image: url('images/desine.png');
   width:13px;
}


.side-border-left {
   color : #000000;
   background-image: url('images/them_20.png');
}

.side-border-right {
   color : #000000;
   margin-left:10px;
   background-image: url('images/them_20.png');
}

.news-footer {
   background : #FFF url('images/BG_news_footer.png');
   font-size : 10px;
   color : #636363;
   width:591px; height:34px; padding-left:5px; background-color:#FFF
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #373434;
   background-image: url('images/table_04.png');
}

.scapmain {
   background : url('images/them_18.png');
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   width : 182px;
   height : 32px;
   color : #7b7b7b;
   }

.tbl-border {
   color:#666666;
   padding-left : 5px;
   padding-bottom : 10px;
   padding-top : 10px
   background-color : #ebf3f5;
}

.tbl {
   font-size : 10px;
   color:#666666;
   background-color : #f2f3f3;
   padding : 4px;
}

.tbl1 {
   font-size : 10px;
   color:#666666;
   background-color : #ebedee;
   padding : 4px;
}

.tbl2 {
   font-size : 10px;
   color:#666666;
   background-color : #dedcdc;
   padding : 4px;
}

.forum-caption {
   font-size : 10px;
   font-weight : bold;
   color:#666666;
   padding-left : 10px;
   padding-top : 3px;
   padding-bottom : 3px;
}

.quote {
   font-size : 10px;
   color : #FFF;
   background-color : #28ADCE;
   padding : 4px;
   margin : 0px 10px 0px 30px;
   border : 1px solid #BBC555;
}

.poll {
   height : 2px;
   margin-top : 2px;
}

.comment-name {
   font-weight : bold;
   color : #626262;
}

.shoutboxname {
   font-weight : bold;
   color : #FFF;
}

.shoutbox {
   color : #FFF;
}

.shoutboxdate {
   font-size : 10px;
   color : #CBD75B;
}

.small {
   font-size : 10px;
   font-weight : normal;
}

.small2 {
   font-size : 10px;
   font-weight : normal;
   color : #FFF;
}

.side-small {
   font-size : 10px;
   font-weight : normal;
   color : #FFF;
}

.side-label {
   color : #FFF;
   padding : 2px 2px 3px 2px;
}




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

$body_text = "#FFFFFF";
$body_bg = "#28ADCE";
$theme_width = "879";
$theme_width_l = "270";
$theme_width_r = "270";

function render_header($header_content) {

global $theme_width,$aidlink;

echo "<table width='786' align='center' cellspacing='0' border='0' cellpadding='0'><tr><td class='kaire' widht='14'></td><td><table align='center' cellspacing='0' border='0' cellpadding='0' width='759' class='main-bg'>
<tr><td>
<table align='center' cellspacing='0' border='0' cellpadding='0' width='759'>
<tr><td>
<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' width='64%' id='AutoNumber1'>
  <tr>
    <td width='100%'>
    <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' width='759' id='AutoNumber2'>
      <tr>
        <td width='613' align='top' height='16' background='".THEME."images/them_02.png'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='prisijungimas'>Vartotojo meniu</a></td>
        <td width='35'>
        <a href='index.php'>
        <img border='0' src='".THEME."images/them_03.png' width='35' height='16'></a></td>
        <td width='29'>
        <a href='contact.php'>
        <img border='0' src='".THEME."images/them_04.png' width='29' height='16'></a></td>
        <td width='34'>
        <a href='sitemap.php'>
        <img border='0' src='".THEME."images/them_05.png' width='34' height='16'></a></td>
        <td width='48'>
        <img border='0' src='".THEME."images/them_06.png' width='48' height='16'></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td width='100%'>
    <img border='0' src='".THEME."images/them_08.png' width='759' height='20'></td>
  </tr>
  <tr>
    <td width='100%'>
    <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' width='759' id='AutoNumber3'>
      <tr>
        <td width='262' background='".THEME."images/them_9.png'  height='60'>";
if(!iMEMBER) {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<table border='0' cellpadding='0' cellspacing='0' width='262' height='60'>
  <tr>
    <td width='60%' align='right' valign='top'><img src='".THEME."login/name.png'>  <input type='text' name='user_name' class='textbox' style='width:100px; height:18px;' value='Vartotojas' onfocus=\"if(this.value=='Vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='Vartotojas';}\"></td>

   <td width='40%'>&nbsp;<button name='login' value='submit' type='submit' style='border: 1px solid #FFFFFF; background-color: #FFFFFF; width:66px; height:23px;'> <img src='".THEME."login/jungtis.png' alt='Prisijungti'> </button></td>
  </tr>
  <tr>
    <td width='60%' align='right' valign='top'><img src='".THEME."login/pass.png'>  <input type='password' name='user_pass' class='textbox' style='width:100px; height:18px;' value='Slapta&#254;odis' onfocus=\"if(this.value=='Slapta&#254;odis'){this.value='';}\" onblur=\"if(this.value==''){this.value='Slapta&#254;odis';}\"></td>
    <td width='40%'>&nbsp;&nbsp;&nbsp;<a href='".BASEDIR."register.php'><img src='".THEME."login/register.png' border='0'></a>
   
   </td>
  </tr>
</table>

</form>";
} else {
echo "<center>
<img src='".THEME."images/bullet.gif'><a href='".BASEDIR."edit_profile.php' class='prisijungimas2'> Redaguoti profil&#303;</font></a><br>
<img src='".THEME."images/bullet.gif'><a href='".BASEDIR."messages.php' class='prisijungimas2'> Asmenin&#279;s &#382;inut&#279;s</a><br>
<img src='".THEME."images/bullet.gif'><a href='".BASEDIR."members.php' class='prisijungimas2'> Nari&#371; sara&#353;as</a><br>
<img src='".THEME."images/bullet.gif'><a href='".BASEDIR."setuser.php?logout=yes' class='prisijungimas2'> Atsijungti nuo sistemos</a><br>";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif'><a href='".ADMIN."index.php".$aidlink."' class='prisijungimas2'> Administracija</a><br>";
}
echo "</center>";
}
echo "</td>
        <td width='480'>
        <img border='0' src='".THEME."images/them_10.png' width='12' height='60'><img src='".THEME."images/reklama.jpg' border='0' width='468' height='60' style='opacity:0.7;filter:alpha(opacity=70)' onmouseover='this.style.opacity=1;this.filters.alpha.opacity=100' onmouseout='this.style.opacity=0.7;this.filters.alpha.opacity=70'></td>
        <td width='17'>
        <img border='0' src='".THEME."images/them_12.png' width='17' height='60'></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td width='100%'>
    <img border='0' src='".THEME."images/them_13.png' width='759' height='37'></td>
  </tr>
  <tr>
    <td width='100%'>
    <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' width='100%' id='AutoNumber4'>
      <tr>
        <td width='563'>
        <img border='0' src='".THEME."images/them_14.png'  height='30'></td>
        <td width='196' height='30' background='".THEME."images/them_15.png' >
      <form name='search' action='search.php?stype=n' method='post'>
      <img src='".THEME."images/blank.gif' width='10'>      
      <input type='text' name='stext' value='paie&#240;ka...' onfocus=\"if(this.value=='paie&#240;ka...'){this.value='';}\" onblur=\"if(this.value==''){this.value='paie&#240;ka...';}\" class='textbox' style='width:100px;  height:20px;'> 
      <input type='submit' name='option' value='ie&#240;koti' class='button' style='width:50px; height:20px;'>
      </form>
      </td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</td></tr>
</table></td></tr><tr><td><table cellpadding='0' cellspacing='0' align='center' width='733' class='main-bg'>
<tr>
<script type=\"text/javascript\" src=\"highslide/highslide.js\"></script>

<!--
2) Initialize the hs object and optionally override the settings defined at the top
of the highslide.js file. The parameter hs.graphicsDir is important!
-->

<script type=\"text/javascript\">
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages(5);
}
</script>


<!--
3) These CSS-styles are necessary for the script to work. You may also put
them in an external CSS-file. See the webpage for documentation.
-->

<style type=\"text/css\">
* {
font-family: Verdana, Helvetica;
font-size: 8pt;
}
.highslide {
cursor: url(highslide/graphics/zoomin.cur), pointer;
outline: none;
}
.highslide:hover img {
border: 2px solid white;
}

.highslide-image {
border: 2px solid white;
}
.highslide-image-blur {
}
.highslide-caption {
display: none;

border: 2px solid white;
border-top: none;
font-family: Verdana, Helvetica;
font-size: 10pt;
padding: 5px;
background-color: white;
}
.highslide-display-block {
display: block;
}
.highslide-display-none {
display: none;
}
.highslide-loading {
display: block;
color: white;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
padding: 3px;
border-top: 1px solid white;
border-bottom: 1px solid white;
background-color: black;
/*
padding-left: 22px;
background-image: url(highslide/graphics/loader.gif);
background-repeat: no-repeat;
background-position: 3px 1px;
*/
}
a.highslide-credits,
a.highslide-credits i {
padding: 2px;
color: silver;
text-decoration: none;
font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
color: white;
}
</style>
<div id=\"highslide-container\"></div>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

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

</td>
</tr><tr>
<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='759' height='27' class='footer'>
<tr>
<td align='left' style='padding-left:0px;'>".stripslashes($settings['footer'])."</td>
<td align='right' style='padding-right:10px;'>
Sprendimas: Sharkman</a><br>
Sistema: <a href='http://php-fusion.co.uk/' target='_blank' class='footeris'>PHP-Fusion</a>
</td>
</tr>
</table>

</td></tr>
</table>
</td><td width='13' class='desine'></td></tr></table>\n";

}

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

echo "<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='540' >
  <tr>
    <td width='12' height='45'>
    <img border='0' src='".THEME."images/table_03.png' width='12' height='45'></td>
    <td width='100%' height='45' class='capmain'>$subject</td>
    <td width='13' height='45'>
    <img border='0' src='".THEME."images/table_06.png' width='13' height='45'></td>
  </tr>
  <tr>
    <td width='12' height='100%' background='".THEME."images/table_08.png' ></td>
    <td width='100%' height='100%' class='main-body-table'>$news <a href='news.php?readmore=".$info['news_id']."' class='news'>daugiau...</a></td>
    <td width='13' height='100%' background='".THEME."images/table_10.png' width='13' height='94'></td>
  </tr>
  <tr>
    <td width='12' height='21'>
    <img border='0' src='".THEME."images/table_11.png' width='12' height='21'></td>
    <td width='100%' background='".THEME."images/table_12.png' height='21'></td>
    <td width='13' height='21'>
    <img border='0' src='".THEME."images/table_15.png' width='13' height='21'></td>
  </tr>
</table>\n";

}

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

echo "<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='540' >
  <tr>
    <td width='12' height='45'>
    <img border='0' src='".THEME."images/table_03.png' width='12' height='45'></td>
    <td width='100%' height='45' class='capmain'>$subject</td>
    <td width='13' height='45'>
    <img border='0' src='".THEME."images/table_06.png' width='13' height='45'></td>
  </tr>
  <tr>
    <td width='12' height='100%' background='".THEME."images/table_08.png' ></td>
    <td width='100%' height='100%' class='main-body-table'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br>
Autorius: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' class='news'>".$info['user_name']."</a>&nbsp; Data: <span style='color:#27AECC;font-weight:bold;'>".showdate("%d.%m.%Y", $info['article_date'])."</span>&nbsp; Komentarø: <span style='color:#27AECC;font-weight:bold;'>".$info['article_comments']."</span></td>
    <td width='13' height='100%' background='".THEME."images/table_10.png' width='13' height='94'></td>
  </tr>
  <tr>
    <td width='12' height='21'>
    <img border='0' src='".THEME."images/table_11.png' width='12' height='21'></td>
    <td width='100%' background='".THEME."images/table_12.png' height='21'></td>
    <td width='13' height='21'>
    <img border='0' src='".THEME."images/table_15.png' width='13' height='21'></td>
  </tr>
</table>\n";

}

function opentable($title) {

echo "<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='540' >
  <tr>
    <td width='12' height='45'>
    <img border='0' src='".THEME."images/table_03.png' width='12' height='45'></td>
    <td width='100%' height='45' class='capmain'>$title</td>
    <td width='13' height='45'>
    <img border='0' src='".THEME."images/table_06.png' width='13' height='45'></td>
  </tr>
  <tr>
    <td width='12' height='100%' background='".THEME."images/table_08.png' ></td>
    <td width='100%' height='100%' class='main-body-table'>\n";

}

function closetable() {

echo "</td>
    <td width='13' height='100%' background='".THEME."images/table_10.png' width='13' height='94'></td>
  </tr>
  <tr>
    <td width='12' height='21'>
    <img border='0' src='".THEME."images/table_11.png' width='12' height='21'></td>
    <td width='100%' background='".THEME."images/table_12.png' height='21'></td>
    <td width='13' height='21'>
    <img border='0' src='".THEME."images/table_15.png' width='13' height='21'></td>
  </tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='182' style='padding-left:10px;'>
<tr>
<td class='scapmain'>&nbsp;&nbsp;&nbsp;&nbsp;$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}


function tablebreak() {

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