Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip sudeti failus

Parašė JLS· 2008 Lie. 6 21:07:04
#1

Gal kas padesit i viena eilute sudeti failus ?
taigi turiu beveik baigta tema tik reik graziai ja sudeti. va IMG :




o noreciau kad butu sitaip :




cia temos.php failas :
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }


// theme settings
$body_text = "#ffffff";///Temos tekstas
$body_bg = "#484848";////Temos bg
$theme_width = "700"; ///Temos plotis
$theme_width_l = "175";//Kaires paneles plotis
$theme_width_r = "175";//Desines paneles plotis

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;

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

</table>
</td>
<td width='0'></td>
</tr>
</table>";

echo
"<table align='center' cellpadding='0' cellspacing='0' width='40%'>
<tr>
<td width='103'><a <img src='".THEME."navigacija/1.png' border='0'></a></td>
<td width='145'><a href='".BASEDIR."index.php'><img src='".THEME."navigacija/2.png' border='0'></a></td>
<td width='127'><a href='http://statistika.nba-challenge.xz.lt/index.php?command=standings'><img src='".THEME."navigacija/3.png' border='0'></a></td>
<td width='191'><a href='".BASEDIR."atkrintamosios.php'><img src='".THEME."navigacija/4.png' border='0'></a></td>
<td width='138'><a href='".BASEDIR."geriausi.php'><img src='".THEME."navigacija/5.png' border='0'></a></td>
<td width='148'><a href='".BASEDIR."informacija.php'><img src='".THEME."navigacija/6.png' border='0'></a></td>
<td width='120'><a href='".BASEDIR."taisykles.php'><img src='".THEME."navigacija/7.png' border='0'></a></td>
<td width='94'><a  <img src='".THEME."navigacija/8.png' border='0'></a></td>
</tr>
</table>";


echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr align=center><td>";
include_once "heasder.php";
echo "</td></tr>";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><a ='".BASEDIR."index.php'><img src='".THEME."images/header.png' alt='' title='".$settings[sitename]."' border='0'></td>
</tr>
</table>
</td>
</tr>
</table>\n";


echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='center' width='50'>";
include THEME."a.php";
echo "</td>
<td align='center' width='306'>";
include THEME."b.php";
echo "</td>
<td align='center' width='195'>";
include THEME."c.php";
echo "</td>
</tr>
</table><br>\n";


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

}




function render_footer($license=false) {

global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' >";
   echo "<td width='20%' height='70' class='white' align='left'>";
      if ($license == false) {
      echo "Varikliukas: <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a>";
echo "<br>Sprendimas: <a href='http://nba-challenge.xz.lt/news.php'>JLS, NBA-Challenge</a>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}



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

global $aidlink,$item_type;
$res = "";

echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>
<tr>
<td class='capmain'>$subject<br><span style='font-size : 12px;font-weight : normal;color:#B2B2B2;'>".showdate("shortdate", $info['news_date'])."</span></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&amp;news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> | Skaityta: ".$info['news_reads']." | Komentarų: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

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

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}



function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
<td class='scapmain' align='center'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

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

}

function tablebreak() {

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

}
?>



raudona spalva pazymeta kur yra ideti failai o cia atskiri failai :
a.php failas :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }


   echo "<span style='color: white;' class='side-body' width='0%'>Vakar dienos MVP</span></center></td></tr>
<tr><td class='side-body' bgcolor='#000000' width='0%'><center><img src='http://www.virtual-nba.statistika.xz.lt/photos/theo_ratliff.jpg' style='margin: 0px;' height='150' width='150'>
<table border='0' width='150'>
  <tbody>
    <center>
    <td bgcolor='#000000'><font color='#ffffff'><b>Žaidejas</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>T.Ratliff</b></font></div></td>
  </tr>
 <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Komanda</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>Bulls</b></font></div></td>

  </tr>
  <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Savininkas</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>MTS</b></font></div></td>
  </tr>
  <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Taškai</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>15</b></font></div></td>
  </tr>
  <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Atkovoti</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>15</b></font></div></td>
  </tr>
  <tr>

    <td bgcolor='#000000'><font color='#ffffff'><b>Perdavimai</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>2</b></font></div></td>
  </tr>
  <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Perimti</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>4</b></font></div></td>
  </tr>

  <tr>
    <td bgcolor='#000000'><font color='#ffffff'><b>Blokai</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>1</b></font></div></td>
  </tr>
<tr>
<td bgcolor='#000000'><font color='#ffffff'><b>Naudingumas</b></font></td>
    <td bgcolor='#000000'><div align='right'><font color='#ffffff'><b>29.9</b></font></div></td>
  </tr>
</center>
<tr>
</tr>
</tbody></table>
</center>
</td></tr></tbody></table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tbody><tr>
<td height='5'></td>
</tbody></table>
<table style='border: 1px solid rgb(0, 0, 0);' border='0' cellpadding='3' cellspacing='1' width='100%'>";
?>



b.php failas :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }


   echo "<center><table class='table_1' cellpadding='5' cellspacing='0' width='10'>
<tbody><tr>
<td align='center' width='120'><b>Rezultatyviausiai<br>žaidžiantis žaidėjas</b></td>
<td width='10'></td>
<td align='center' width='120'><b>Daugiausiai<br>atkovojantis kamuolių</b></td>

<td width='10'></td>
<td align='center' width='120'><b>Daugiausiai atliekantis<br>rezultativių perdavimų</b></td>

</tr>
<tr>
<td align='center' width='135'><img src='http://www.virtual-nba.statistika.xz.lt/photos/vince_carter.jpg' style='border-color: rgb(0, 0, 0);' border='1' height='140' width='125'><br><br></td>
<td width='10'></td>
<td align='center' width='135'><img src='http://www.virtual-nba.statistika.xz.lt/photos/ben_wallace.jpg' style='border-color: rgb(0, 0, 0);' border='1' height='140' width='125'><br><br></td>
<td width='10'></td>

<td align='center' width='135'><img src='http://www.nba.com/media/act_raja_bell.jpg' style='border-color: rgb(0, 0, 0);' border='1' height='140' width='125'><br><br></td>
</tr>
<tr>
<td align='center' width='135'><b>V.Carter</b> (CHI)<br>Vid.: 36,86</td>

<td width='10'></td>

<td align='center' width='135'><b>B.Wallace</b> (NJ)<br>Vid.: 12,80</td>
<td width='10'></td>
<td align='center' width='135'><b>R.Bell</b> (MIL)<br>Vid.: 8,60</td>

</tr></tbody></table></center></td>
</tr></tbody>";
?>



c.php failas :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }


   echo "<center></td></tr>
<tr>
<td class='side-body'>

<center><img width='170' height='170' style='margin: 5px;' src='http://www.nba-draft.com/images/Minnesota_Timberwolves_620200614351PM_company_logo.jpg'/>


<table border='0' width='175'>

<tbody><tr>
<td>Komanda</td>
<td><div align='right'>---</div></td>
</tr>
<tr>
<td>Treneris</td>
<td><div align='right'>---</div></td>

</tr>
<tr>
<td>Sužaista</td>
<td><div align='right'>---</div></td>
</tr>
<tr>
<td>Taškai</td>
<td><div align='right'>---</div></td>
</tr>
<tr>
<td>Laimėta</td>
<td><div align='right'>---</div></td>

</tr>
<tr>
<td>Pralaimėta</td>
<td><div align='right'>---</div></td>
</tr>
<tr>
<td>Lyderis</td>
<td><div align='right'><b>---</b></div></td>
</tr>
<tr>
</tr></tbody></table>
</center></td></tr>
</tbody></center>";
?>



tikiuosi padesit ;)