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

Parašė arnas120· 2011 Gru. 10 10:12:07
#1

sveiki, turiu bsk problemele ant dizaino nera sakityti toliau gal galite ji prideti :)
stai theme.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'><img src='".THEME."images/bullet.gif' width='5' height='5' alt=''></span>");

require_once INCLUDES."theme_functions_include.php";

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

   //Header
   echo "<table align='center' width='960' height='197' border='0' cellpadding='0' cellspacing='0'><tr>
   <td colspan='3' class='laikas-bg'>";
   include THEME."includes/laikas.php";
   echo "</td>
   <td colspan='4' background='".THEME."images/head/header_02.png' width='525' height='26' alt=''></td>
   
   </tr><tr>
   
   <td colspan='2' rowspan='2' class='logo-bg'>
      
   </td>
   <td colspan='2' rowspan='2' background='".THEME."images/head/header_04.png' width='454' height='128' alt=''></td>
   <td colspan='2' class='login-bg'>";
   include THEME."includes/prisijungimas.php";
   echo "</td>
   <td background='".THEME."images/head/header_06.png' width='5' height='111' alt=''></td>
   
   
   </tr><tr>
   
   <td colspan='3' background='".THEME."images/head/header_07.png' width='283' height='17' alt=''></td>
   
   </tr><tr>
   
   <td background='".THEME."images/head/header_08.png' width='54' height='42' alt=''></td>
   
   <td colspan='4' class='navigacija-bg'>
   &nbsp;&nbsp;&nbsp;
   <a href='#' class='nav-myg'>PAGRINDINIS   </a>   
   &nbsp;&nbsp;
   <a href='#' class='nav-myg'>NAUJAUSI FILMAI  </a>   
   &nbsp;&nbsp;
   <a href='#' class='nav-myg'>SERIALAI      </a>
   &nbsp;&nbsp;
   <a href='#' class='nav-myg'>KINO NAUJIENOS  </a> 
   &nbsp;&nbsp;
   <a href='#' class='nav-myg'>PAGEIDAVIMAI   </a>
   &nbsp;&nbsp;
   <a href='#' class='nav-myg'>D.U.K.</a>
   </td>
   
   <td colspan='2' background='".THEME."images/head/header_10.png' width='10' height='42' alt=''></td>
   
   </tr><tr>
   
      <td background='".THEME."images/head/spacer.gif' width='54' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='169' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='212' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='242' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='273' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='5' height='1' alt=''></td>
      <td background='".THEME."images/head/spacer.gif' width='5' height='1' alt=''></td>
   </tr>
   </table>\n";
   
   //Content
   echo "<table cellpadding='0' cellspacing='0' width='946' align='center' 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";
   
   //Footer
   echo "<table align='center' width='960' height='54' border='0' cellpadding='0' cellspacing='0'><tr>
   <td class='copyrights-bg'>
   <span style='padding-left: 11px;'>Visos teisės saugomos &copy; 2011</span> <br>
   <span style='padding-left: 11px;'>Sistema - <a href='http://www.phpfusion.lt' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>phpfusion</a> / Dizainas - <a href='http://www.ertin.lt' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>ertin.lt</a></span>   
   </td>
   <td background='".THEME."images/footer/footer_02.png' width='27' height='54' alt=''></td>
   <td class='backlinks-bg' align='center'>
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   |
   <a href='#' style='color: #cdcdcd; text-decoration: none; font-size: 11px;'>Reklamos nuoroda</a>
   </td>
   <td background='".THEME."images/footer/footer_04.png' width='9' height='54' alt=''></td>
   </tr>
   </table>\n";
   
   /*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='681'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='681' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>".$info['cat_image'].$news."</td>\n";
   echo "</tr>\n";
   echo "</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table width='681' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='681' cellpadding='0' cellspacing='0' class='spacer'>\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," &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='681'>\n<tr>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='681' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

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

}

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

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='254'>\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</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='254' class='spacer'>\n<tr>\n";
   echo "<td class='side-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";

}
?>




Dekoju is anksto ;)