Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Paneles virsaus img

Parašė kiskiss· 2007 Rugp. 18 16:08:16
#1

Situacija tokia kad dabar tiek paneles virsuje tiek naujienos virsuje yra tas pats paveikslelis






Ka daryti kad jie butu atskiri?

Pavyzdiui img.jpg butu paneles o img2.jpg butu naujienos virsuje

Redagavo kiskiss· 2007 Rugp. 18 16:08:58

Parašė sorry· 2007 Rugp. 18 16:08:04
#2

style.css idek faila

Parašė MAnjack· 2007 Rugp. 18 16:08:26
#3

paneles reikia prisikirti kitai klasei, redaguok theme.php

Parašė kiskiss· 2007 Rugp. 18 18:08:27
#4

MAnjack parašė:
paneles reikia prisikirti kitai klasei, redaguok theme.php


o gal zinai koki koda rasyti? ?|

Parašė MAnjack· 2007 Rugp. 18 18:08:55
#5

Atsidaryk theme.php ir prie panelių pamatysi.

Parašė kiskiss· 2007 Rugp. 18 18:08:03
#6

Ar cia man atrodo ar cia nera


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

// theme settings
$body_text = "#555555";
$body_bg = "#FEFEFE";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");



function render_header($header_content) {

global $theme_width,$settings;

   echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>
<tr>
<td class='leftside' valign=top><img width='45' src='".THEME."images/blank.gif'></td>
<td class=topb align=center>
</td>
<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><div align='right' id='clockbar'><div class='clockbarcolor'>
<div id='Clock'></div><script type='text/javascript'>
      <!--
      var DayNam = new Array(
      'Niedziela','PoniedziaĀ³ek','Wtorek','Ā¦roda','Czwartek','PiĀ±tek','Sobota');
      var MnthNam = new Array(
      'Styczenia','Lutego','Marca','Kwietnia','Maja','Czerwca','Lipca','Sierpnia','WrzeĀ¶nia','PaĀ¼dziernika','Listopada','Grudnia');
      //-->
</script>
<script type='text/javascript' src='".THEME."clock/clock.js'></script></div></div>
<div align='right' id='pageheader'>
<table style='WIDTH: 100%; height:50px;' cellSpacing='0' cellPadding='0' border='0'><tr>
<td style='WIDTH: 45%'><a href='".BASEDIR."index.php'><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='400' height='74'></a>
</td></tr>
</table>
</div>
<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='subheader'>".showsublinks(" - ","subheader-text")."</td>
<td class='subheader' style='vertical-align:middlie;' align='right'>
<form action='".BASEDIR."search.php?stype=f' method='post'>
<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>
<td align='right'><b>Szukaj</b>  <input type='text' class='input' name='stext' value='Szukaj na Forum'  onBlur=\"if(this.value=='') this.value='Szukaj na Forum';\" onFocus=\"if(this.value=='Szukaj na Forum') this.value='';\">
 <input name='option' class='submit' type='submit' value='Szukaj'>
</td></tr>
</table>
</form>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
   echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."\n";
if ($license == false) {
echo "<br>Powered by <a href='http://www.php-fusion.co.uk' class='breadcrumb' target='_blank' style='color:#EDEDED;'>PHP-Fusion</a> || EP IV by <a href='' target='_blank' style='color:#EDEDED;'></a> || Theme by: <a target='_blank' href=''><font color='#EDEDED'></font></a><br><br>\n";
}
echo number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n")."";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_news($subject, $news, $info) {
$subject = strip_tags($subject);

   echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div>
</td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr>
<td align='center'>";
   echo openform("N",$info['news_id']).newsposter($info," Ā·").newsopts($info," Ā·").closeform("N",$info['news_id']);
   echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}

function render_article($subject, $article, $info) {
   
   echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='center'>";
   echo openform("A",$info['article_id']).articleposter($info," Ā·").articleopts($info," Ā·").closeform("A",$info['article_id']);
   echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}

function opentable($title) {

   echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}

function closetable() {

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

function openside($title) {
   
   echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}

function closeside() {

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

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

$boxname = str_replace(" ", "", $title);

   echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
<td align='right' class='tableHeadingBG'>".panelbutton($state,$boxname)."</td>
</tr>
<tr><td class='td-cell1' vAlign='top' colspan='2'>
<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";
   echo "<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>



Redagavo kiskiss· 2007 Rugp. 18 18:08:14

Parašė sorry· 2007 Rugp. 18 19:08:53
#7

o tu nori ka pakeisti ar naujienu img ar paneliu img?

Parašė kiskiss· 2007 Rugp. 18 19:08:04
#8

nera svarbu. skaitykim paneliu