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

Parašė Delive· 2011 Lap. 11 16:11:45
#1

Sveiki sendein isikeliau nauja dizaina ir nezinau kaip sumazinti jame naujienas kad nebutu isiputusios
photo:




Parašė MaFetas· 2011 Lap. 11 16:11:36
#2

Koduoji dizainus ir nežinai kaip dydžius panelių keisti ar nustatyti? :D :D

Parašė Delive· 2011 Lap. 11 17:11:58
#3

nezinau nes as sitam kode nesurandu

Parašė MaFetas· 2011 Lap. 11 17:11:16
#4

Ieškokis styles.css turi būti arba blogiausiu atveju theme.php faile

Parašė Delive· 2011 Lap. 11 18:11:04
#5

ieskojau neradau nieko :(

Parašė Delive· 2011 Lap. 11 18:11:32
#6

Styles.css
a {
    color: #835b30;
    text-decoration: none;
}

a:hover {
    color: #745148;
    text-decoration: none;
}

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

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

a.white {
    color: #835b30;
    text-decoration: none;
}

a:hover.white {
    color: #745148;
    text-decoration: none;
}

.spacer {
    margin-bottom: 0px;
}

.admin-message {
    font-family: Tahoma;
    font-size: 12px;
    text-align: center;
    color: #333333;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    padding: 3px 4px 5px 4px;
    margin-bottom: 5px;
}

body {
    background-color: #18100e;
    font-family: Tahoma;
    font-size: 12px;
    color: #835b30;
    margin: 0;
    margin-bottom: 20px;
}

.id {
    background-image: url('images/bg_id.png');
    background-color: #120c0c;
    font-family: Tahoma;
    font-size: 11px;
    border: 0px;
    color: #8e5b29;
    margin-top: 0px;
    width: 135px;
    height: 21px;
    padding: 0px 0px 0px 8px;
}

.pass {
    background-image: url('images/bg_pass.png');
    background-color: #120c0c;
    font-family: Tahoma;
    font-size: 11px;
    border: 0px;
    color: #8e5b29;
    margin-top: 0px;
    width: 135px;
    height: 21px;
    padding: 0px 0px 0px 8px;
}

.inne {
    background-image: url('images/bg_button.png');
    background-color: #120c0c;
    border: 0px;
    margin-top: 0px;
    width: 62px;
    height: 21px;
    margin: 5px 0px 0px 5px;
}

.tbl3 {
    text-shadow: 1px 1px 0pt #181312;
    font-family: Tahoma;
    font-size: 11px;
    color:#c06811;
    padding: 0px 4px 0px 4px;
}
        .tbl3 a {
                color:#74614f;
                text-decoration: none; 
        }
        .tbl3 a:hover {
                color: #c06811;
                text-decoration: none; 
        }

.decolor {
    background: url('images/header.jpg');
    text-shadow: 1px 1px 0pt #181312;
    width:1065px;
    height:300px;
    color:#74614f;
}
        .decolor a {
                color: #74614f;
                text-decoration: none; 
        }
        .decolor a:hover {
                color: #c06811;
                text-decoration: none; 
        }

.decolor2 {
    background: url('images/header3.jpg');
    width:1070px;
    height: 25px;
}

#containe{
    margin:0 auto; padding:0px; position:relative; width:1070px; margin-top: 0px;
    }

#sub-nav{
    width:1070px; height:43px; margin:0px; padding:0;
    background: url('images/header2.jpg') no-repeat;
    color:#ffffff;
    float:left;     
    }

#sub-nav img{
    position:absolute; right:0; top:0px;
}

#sub-nav ul{
    position:absolute; left:0px; top:1px;
    margin:0; padding:0; list-style:none;
}

#sub-nav ul li{
    width:97px; margin:0; float:left;
}
#sub-nav ul li a{
    text-shadow: 1px 1px 0pt #18100e;
    padding: 12px 0px 0px 0px;
    font-family: Arial;
    font-size: 14px;
    color: #a96624;
    text-align: center;
    text-decoration: none;
    display: block;
    background: none;
    height: 30px;
}

#sub-nav ul li a:hover{
    color: #745148;
}

.border {
    background-color: #ddd;
    border: 0px #FFF solid;
}

.outer-border {
    border: 0px solid #f2f2f2;
}

.bbcode {
    font-family: Tahoma;
    font-size: 10px;
    color: #000;
    background-color: #eee;
    border: 1px solid #ccc;
    margin-top: 2px;
}

img {
    border: 0px;
}

form {
    margin: 0px;
}

td {
    font-family: Tahoma;
    font-size: 11px;
}

pre {
    font-family: Tahoma;
    font-size: 11px;
}

.alt {
    color: #FFF;
}

hr {
    border-top: 1px #e3e3e3 solid;
    border-bottom: 1px #fbfbfb solid;
    border-left: 0px;
    border-right: 0px;
}

hr.side-hr {
    border-top: 1px #000000 solid;
    border-bottom: 1px #241a1a solid;
    border-left: 0px;
    border-right: 0px;
}

.footer {
    text-shadow: 1px 1px 0pt #120c0c;
    background-image: url('images/footer.jpg');
    font-family: Tahoma;
    font-size: 12px;
    color: #8e5b29;
}
        .footer a {
                color: #8e5b29;
                text-decoration: none; 
        }
        .footer a:hover {
                color: #745148;
                text-decoration: none; 
        }

.button {
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    font-size: 12px;
    display: inline-block;
    padding: 2px 6px;
    line-height: 1;
    color: #3C3C3D;
    text-shadow: 1px 1px 0 #FFFFFF;
    white-space: nowrap;
    cursor: pointer;
    overflow: visible;
    text-decoration: none;
    border: 1px solid #CACACA;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-background-clip: padding-box;
    border-radius: 5px;
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
    padding:0px;
}

.button.primary {
    font-weight: bold
}

.button:focus, .button:hover {
    color: #fff;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    background-position: 0 -40px;
    background-color: #745148;
    border-color: #65463e;
}
   
.textbox {
    font-family: Tahoma;
    font-size: 11px;
    color: #292929;
    background-image: url('images/textbox.gif');
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
}

.news-category {
    border: 0px none;
    float: left;
    margin-left: 0;
    margin-right: 5px;
    margin-top: 3px;
    margin-bottom: 0;
}

.main-bg {
    padding: 5px 5px 0px 5px;
}

.side-border-left {
    padding: 5px 0px 0px 0px;
}

.side-border-right {
    padding: 5px 0px 0px 0px;
}

.main-body {
    background-color: #ffffff;
    font-family: Tahoma;
    font-size: 11px;
    color: #584c4a;
    padding: 0px 0px 0px 0px;
}

.side-body {
    background-color: #120c0c;
    font-family: Tahoma;
    font-size: 12px;
    color: #835b30;
    padding: 0px 0px 0px 0px;
}

.table-body {
    background-color: #ffffff;
    font-family: Tahoma;
    font-size: 11px;
    color: #584c4a;
    padding: 0px 0px 0px 0px;
}
        .table-body a {
                color: #584c4a;
                text-decoration: none; 
        }
        .table-body a:hover {
                color: #745148;
                text-decoration: none; 
        }

.article-body {
    background-color: #ffffff;
    font-family: Tahoma;
    font-size: 11px;
    color: #584c4a;
    padding: 0px 0px 0px 0px;
}

.infobar {
    font-family: Arial,Sans-Serif;
    font-size: 11px;
    font-weight: bold;
    color: #777777;
    padding: 0px;
    border-top: 0px;
}
        .infobar a {
            font-family: Arial,Sans-Serif;
                color: #777777;
            font-weight: bold;
                text-decoration: none; 
        }
        .infobar a:hover {
            font-family: Arial,Sans-Serif;
                color: #3c3c3c;
            font-weight: bold;
                text-decoration: none; 
        }

.infobar2 {
    font-family: Tahoma;
    font-size: 11px;
    color: #777777;
    padding: 0px;
    border-top: 0px;
}

.panel-left {
    background-image: url('images/side/panel-left.png');
    width: 10px;
    height: 45px;
}

.panel-right {
    background-image: url('images/side/panel-right.png');
    width: 10px;
    height: 45px;
}

.panel-main {
    height: 45px;
    padding: 0px 0px 0px 0px;
    background-image: url('images/side/panel-main.png');
    background-repeat: repeat-x;
}

.border-left {
    background-image:url('images/side/border-left.png');
    width:10px;
}

.border-right {
    background-image:url('images/side/border-right.png');
    width:10px;
}

.border-bleft {
    width:10px;
    height:16px;
    background-image:url('images/side/border-bleft.png');
}

.border-bright {
    width:10px;
    height:16px;
    background-image:url('images/side/border-bright.png');
}

.border-bmain {
    height:16px;
    background-image:url('images/side/border-bmain.png');
    background-repeat:repeat-x;
}

.panel-left2 {
    width: 10px;
    height: 40px;
    background-image: url('images/table/panel-left2.png');
}

.panel-right2 {
    width: 10px;
    height: 40px;
    background-image: url('images/table/panel-right2.png');
}

.panel-main2 {
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    color: #8e5b29;
    height: 40px;
    padding: 0px 0px 0px 5px;
    background-image: url('images/table/panel-main2.png');
    background-repeat: repeat-x;
}

.border-left2 {
    width:10px;
    background-image:url('images/table/border-left2.png');
    background-repeat:repeat-y;
}

.border-right2 {
    width:10px;
    background-image:url('images/table/border-right2.png');
    background-repeat:repeat-y;
}

.border-bleft2 {
    width:10px;
    height:16px;
    background-image:url('images/table/border-bleft2.png');
}

.border-bright2 {
    width:10px;
    height:16px;
    background-image:url('images/table/border-bright2.png');
}

.border-bmain2 {
    height:16px;
    background-image:url('images/table/border-bmain2.png');
    background-repeat:repeat-x;
}

.panel-left3 {
    width: 10px;
    height: 40px;
    background-image: url('images/main/panel-left3.png');
}

.panel-right3 {
    width: 10px;
    height: 40px;
    background-image: url('images/main/panel-right3.png');
}

.panel-main3 {
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    color: #8e5b29;
    height: 40px;
    padding: 0px 0px 0px 5px;
    background-image: url('images/main/panel-main3.png');
    background-repeat: repeat-x;
}

.border-left3 {
    width:10px;
    background-image:url('images/main/border-left3.png');
    background-repeat:repeat-y;
}

.border-right3 {
    width:10px;
    background-image:url('images/main/border-right3.png');
    background-repeat:repeat-y;
}

.border-bleft3  {
    width:10px;
    height:16px;
    background-image:url('images/main/border-bleft3.png');
}

.border-bright3 {
    width:10px;
    height:16px;
    background-image:url('images/main/border-bright3.png');
}

.border-bmain3 {
    height:16px;
    background-image:url('images/main/border-bmain3.png');
    background-repeat:repeat-x;
}

.clear {
    clear: both;
}

.center {
    margin: 0 auto;
}

.tbl-border {
    border: 1px #e3e3e3 solid;
}

.tbl {
    font-family: Arial,Sans-Serif;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 4px 2px 4px;
}

.tbl1 {
    font-family: Arial,Sans-Serif;
    font-size: 11px;
    color: #2e2e2e;
    background-color: #eeeeee;
    padding: 2px 4px 2px 4px;
}
        .tbl1 a {
            font-family: Arial,Sans-Serif;
            font-weight: bold;
            font-size: 11px;
                color: #c06811;
                text-decoration: none; 
        }
        .tbl1 a:hover {
            font-family: Arial,Sans-Serif;
            font-weight: bold;
            font-size: 11px;
                color: #f07f10;
                text-decoration: none; 
        }
   
.tbl2 {
    font-family: Arial,Sans-Serif;
    font-size: 11px;
    color: #2e2e2e;
    background-color: #e3e3e3;
    padding: 2px 4px 2px 4px;
}
        .tbl2 a {
            font-family: Arial,Sans-Serif;
            font-weight: bold;
            font-size: 11px;
                color: #c06811;
                text-decoration: none; 
        }
        .tbl2 a:hover {
            font-family: Arial,Sans-Serif;
            font-weight: bold;
            font-size: 11px;
                color: #f07f10;
                text-decoration: none; 
        }
   
.forum-caption {
    font-family: Arial,Sans-Serif;
    font-size: 12px;
    font-weight: bold;
    height: 22px;
    color: #2e2e2e;
    background-color: #d3d3d3;
    padding: 4px 4px 4px 4px;
}

.quote {
    color: #2e2e2e;
    background-color: #d3d3d3;
    padding: 2px;
    margin: 0px 20px 0px 20px;
    border: 1px #d1d1d1 solid;
}
   
.poll {
    height: 2px;
    border: 0px #FFF solid;
}

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

.shoutboxname {
    text-align: right;
    color: #835b30;
}

.shoutbox {
    font-family: Sans-serif;
    font-size: 11px;
    color: #c06811;
    background-color: #251b1b;
    border: 0px;
    padding: 4px 4px 4px 4px;
}

.shoutboxdate {
    background: url('images/bg_shoutbox.gif') no-repeat bottom right;
    font-size: 9px;
    color: #835b30;
    height: 14px;
}

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

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

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

.side-label {
    padding: 0px 0px 0px 0px;
    height: 17px;
}

.pagenav {
    font-family: Arial,Sans-Serif;
    font-size: 11px;
    font-weight: bold;
    color: #3d3333;
    padding: 4px;
}

.pagenav span {
    color: #ffffff;
    background-color: #372f2f;
    border: 1px solid #ddd;
    padding: 2px 4px 2px 4px;
    margin: 2px;
}

.pagenav a {
    color: #555;
    background-color: #ececec;
    border: 1px solid #ddd;
    padding: 2px 4px 2px 4px;
    margin: 2px;
    text-decoration: none;
}

.pagenav a:hover {
    color: #ffffff;
    background-color: #393030;
    margin: 2px;
    text-decoration: none;
}




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,$lookup,$msg_count,$aidlink;

   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>
   <td align='center' width='100'>";
              echo "</td>
   <td align='left' width='1000'><br><br><br><br><br><br>";

   if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
   global $lastvisited;
   if (!isset($lastvisited) || !isnum($lastvisited)) { $lastvisited = time(); }
   $data = dbarray(dbquery("SELECT tt.thread_lastpost
   FROM ".DB_FORUMS." tf
   INNER JOIN ".DB_THREADS." tt ON tf.forum_id = tt.forum_id
   WHERE ".groupaccess('tf.forum_access')."
   ORDER BY tt.thread_lastpost DESC LIMIT ".($settings['numofthreads']-1).", ".$settings['numofthreads']));
   $timeframe = empty($data['thread_lastpost']) ? 0 : $data['thread_lastpost'];
   $result = dbquery(
   "SELECT tt.thread_id, tt.thread_subject, tt.thread_views, tt.thread_lastuser, tt.thread_lastpost,
   tt.thread_poll, tf.forum_id, tf.forum_name, tf.forum_access, tt.thread_lastpostid, tt.thread_postcount, tu.user_id, tu.user_name
   FROM ".DB_THREADS." tt
   INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
   INNER JOIN ".DB_USERS." tu ON tt.thread_lastuser=tu.user_id
   WHERE ".groupaccess('tf.forum_access')." AND tt.thread_lastpost >= ".$timeframe."
   ORDER BY tt.thread_lastpost DESC LIMIT 0,9 ");
   if (dbrows($result)) {
   $i = 0;
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   while ($data = dbarray($result)) {
      $row_color = ($i % 2 == 0 ? "tbl" : "tbl");
      echo "<tr>\n<td class='".$row_color."'>";
      if ($data['thread_lastpost'] > $lastvisited) {
         $thread_match = $data['thread_id']."\|".$data['thread_lastpost']."\|".$data['forum_id'];
         if (iMEMBER && preg_match("(^\.{$thread_match}$|\.{$thread_match}\.|\.{$thread_match}$)", $userdata['user_threads'])) {
         }
      }

   if ($data['thread_poll']) {
         $thread_poll = "<span class='large' style='font-weight:bold'>[".$locale['global_051']."]</span> ";
   } else {
         $thread_poll = "";
   }
   echo "</td>\n";
   echo "<td width='100%' class='".$row_color."'>".$thread_poll."<a href='".FORUM."viewthread.php?thread_id=".$data['thread_id']."&amp;pid=".$data['thread_lastpostid']."#post_".$data['thread_lastpostid']."' title='".$data['thread_subject']."'>".trimlink($data['thread_subject'], 46)."</a>\n</td>\n";
   echo "<td width='500px' class='".$row_color."' style='text-align:center;white-space:nowrap'>".$data['thread_views']."</td>\n";
   echo "<td width='500px' class='".$row_color."' style='text-align:center;white-space:nowrap'>".($data['thread_postcount']-1)."</td>\n";
   echo "<td width='1%' class='".$row_color."' style='text-align:center;white-space:nowrap'><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."'>".$data['user_name']."</a>\n</td>\n";
   echo "</tr>\n";
   $i++;
   }
   echo "</table>\n";
   echo "</div>\n";
   }

   echo "</td>
   <td align='left' width='2320'>";
   echo "</td>
   </tr>
   </table>";

   echo "</td>
   <td align='right' width='94'>";
   echo "</td>
   </tr>
   </table>";
   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor3'>\n<tr>
   <td align='right' width='470'>";
   echo "</td>

   <td align='right' width='37'>";
   echo "</td>
   </tr>
   </table>";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n
   <td>
   <div id='containe'>
   <div id='sub-nav'>
   <a href='".BASEDIR."index.php'></a>
   <ul>
   <li><a href='".BASEDIR."index.php'><i>Pagrindinis</i></a></li>
   <li><a href='".FORUM."index.php'><i>Forumas</i></a></li>
   <li><a href='".BASEDIR."downloads.php'><i>Siuntiniai</i></a></li>
   <li><a href='".BASEDIR."articles.php'><i>Pamokos</i></a></li>
   <li><a href='".BASEDIR."viewpage.php?page_id=9'><i>Reklama</i></a></li>
   <li><a href='".BASEDIR."contact.php'><i>Kontaktai</i></a></li>
   <li><a href='".BASEDIR."search.php'><i>Paieška</i></a></li>
   </ul>
   </div>
   </td>
   </table>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>
   <td align='right' width='1070'>";
   echo "</td>
   </tr>
   </table>";
   echo "<table cellpadding='0' cellspacing='0' width='1070' align='center' class='content'><tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top' width='150'>".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' width='150'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
   echo "<table width='1070' height='95' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>
   <tr>
   <td align='left'><br><br><br>
   <span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Administracijos skype: <a href='skype:Deiviuxsz?chat'>Deiviuxsz</a></span><br>
   <span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Visos teisės saugomos: <a href='http://www.csnocheats.us.lt/' target='_blank'>www.CSNOCHEATS.US.lt</a></span>
   </td>
   <td align='center'><br><br><br>

   </td>
   <td align='right'>
   <span style='padding-right:75px; font-family: Tahoma; font-size: 11px;'> Dizaino įdėja: <a href='skype:decolor.?chat'>decolor. </a></span><br>
   <span style='padding-right:40px; font-family: Tahoma; font-size: 11px;'> Studijos svetainė: <a href='http://www.decolor.lt/' target='_blank'>www.decolor.lt </a></span>
   </td>
   </tr>
   </table>\n";
}

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

   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
   echo "<td align='left' class='infobar'>
   <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a> &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".showdate("%Y - %m - %d", $info['news_date'])." &nbsp;
   <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>&nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Peržiūros &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

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

   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
   echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";
   echo "<td align='right' class='infobar2'>";
    echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "</tr><tr>";
   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main2'><div class='panel-title-table'>$title</div></td>";
   echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='38' 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='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='table-body'><br>\n";
}

function closetable() {

   echo "</td>";
   echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function openside($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='36' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$title</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='36' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='side-body'><br>\n";
}

function closeside() {

   global $panel_collapse;
   if ($panel_collapse == true) { echo "</div>\n"; }
   echo "</td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

?>






Kas pades duosiu admin serve cs arba css

Redagavo Delive· 2011 Lap. 11 19:11:52

Parašė avice· 2011 Lap. 11 21:11:34
#7


function render_news($subject, $news, $info) {
 
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
   echo "<td align='left' class='infobar'>
   <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a> &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".showdate("%Y - %m - %d", $info['news_date'])." &nbsp;
   <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>&nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Peržiūros &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

pagal sy koda tikrink visus style.

Parašė Delive· 2011 Lap. 12 15:11:56
#8

avice parašė:

function render_news($subject, $news, $info) {
 
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
   echo "<td align='left' class='infobar'>
   <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a> &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".showdate("%Y - %m - %d", $info['news_date'])." &nbsp;
   <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
   <img src='".THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>&nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Peržiūros &nbsp;
   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
   echo "</tr></table><div style='margin-top:5px'></div>\n";
}

pagal sy koda tikrink visus style.

Nieko
Gal galetum su style.css iskarto ?

Redagavo Delive· 2011 Lap. 12 15:11:06

Parašė Delive· 2011 Lap. 12 17:11:52
#9

Kas pades paukosiu kokiam, projektui 2LT

Parašė RaZoRaS· 2011 Lap. 12 18:11:23
#10

Tesiog isirasai firebug ir tikrini arba duok tinklapio adresa ziuresiu kur ten reikia keisti...