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

Parašė dyaz· 2010 Bir. 3 12:06:53
#1

Niekaip nerandu kur themes.php yra klaida kad su IE blogai rodo...

IE:

http://www.ipix.lt/images/797375...

Firefox:

http://www.ipix.lt/images/629023...



theme.php >>>
http://crusader.us.lt/theme.txt

Redagavo dyaz· 2010 Bir. 3 12:06:23

Parašė flapas· 2010 Bir. 3 13:06:39
#2

dyaz parašė:
Niekaip nerandu kur themes.php yra klaida kad su IE blogai rodo...

IE:

http://www.ipix.lt/images/797375...

Firefox:

http://www.ipix.lt/images/629023...



theme.php >>>
http://crusader.us.lt/theme.txt


Uždrausk su IE ateiti, ir man taip būdavo. Tad uždraudžiau su IE, ir pofik. :)

Parašė tevas· 2010 Bir. 3 13:06:48
#3

manau kodavimas blogas.

Parašė blist· 2010 Bir. 3 13:06:08
#4

Yra tokių žmonių, kurie dar naudojasi IE, be to, šita tema išsikraipo ir su Opera. pamėgink pats..

Parašė edeni· 2010 Bir. 3 13:06:32
#5

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

// theme settings
$body_text = "#333333";
$body_bg = "#151515";
$theme_width = "900";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width,$settings,$db_prefix,$locale,$data,$userdata,$user_data,$itemsubject,$aidlink;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' background='".THEME."images/H_girl.png' width='444' height='28'>";
include THEME."user_info_panel.php";
echo "</td>
<td width='6'></td>
<td align='right' width='450'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td height='34' valign='top'>
<img src='".THEME."images/H_navi.png' usemap='#navi' height='28' width='450' border='0'>
<map id='navi' name='navi'>
<area shape='rect' coords='17,8,54,21' href='".BASEDIR."index.php'>
<area shape='rect' coords='79,8,138,21' href='".FORUM."index.php'>
<area shape='rect' coords='159,8,213,21' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='234,8,280,21' href='".BASEDIR."search.php'>
<area shape='rect' coords='301,8,351,21' href='".BASEDIR."reklama.php'>
<area shape='rect' coords='371,8,431,21' href='".BASEDIR."contact.php'>
</map>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' height='160'>
<tr>
<td align='left' background='".THEME."images/H_new.png' width='222' height='160'>";
include THEME."latest_downloads_panel.php";
echo "</td>
<td width='6'></td>
<td align='right' background='".THEME."images/H_pop.png' width='222' height='160'>";
include THEME."popular_downloads_panel.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td align='left' style='font-size:9px;'>".stripslashes($settings['footer'])."</td>
<td align='right'>
<img src='".THEME."images/IMG_sprendimas.gif'><a href='http://emotive.in/' target='_blank'><img src='".THEME."images/IMG_emotive.gif' border='0'></a><br>
<img src='".THEME."images/IMG_sistema.gif' style='margin-top:4px;'><a href='http://php-fusion.co.uk/' target='_blank'><img src='".THEME."images/IMG_phpfusion.gif' border='0' style='margin-top:4px;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

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

echo "<table cellpadding='0' cellspacing='0' width='474'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&amp;news_id=".$info['news_id']."'>
<tr>
<td class='main-body'>parašė ".$info['user_name'].", ".showdate("shortdate", $info['news_date'])."<br><a href='news.php?readmore=".$info['news_id']."'>skaityti plačiau</a>";
if (iADMIN) {
echo ", <input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$info['news_id'].".submit();'>redaguoti</a>";
}
echo "<br><br>$news ";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo "<a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."images/more.gif' border='0'></a>"; }
echo "</td>
</tr>
<tr>
<td class='news-footer'></td>
</tr>
</form>
</tr>
</table>\n";

}

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

}

function closetable() {

echo "</td>
</tr>
<tr>
<td background='".THEME."images/BG_news-footer.gif' width='474' height='5'></td>
</tr>
</table>\n";

}

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

}

function closeside() {

echo "</td>
</tr>
<tr>
<td background='".THEME."images/BG_sidebot.gif' width='208' height='5'></td>
</tr>
</table>\n";
tablebreak();

}

function openside_zip($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='234'>
<tr>
<td class='scapmain_top'>$title</td>
</tr>
<tr>
<td class='side-body-zip'>\n";

}

function closeside_zip() {

echo "</td>
</tr>
<tr>
<td background='".THEME."images/BG_sidebot_top.gif' width='234' height='5'></td>
</tr>
</table>\n";

}

function openside_phr($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='234'>
<tr>
<td class='scapmain_top'>$title</td>
</tr>
<tr>
<td class='side-body-phr'>\n";

}

function closeside_phr() {

echo "</td>
</tr>
<tr>
<td background='".THEME."images/BG_sidebot_top.gif' width='234' height='5'></td>
</tr>
</table>\n";

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='234'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".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";

}
?>




megink taip

Parašė flapas· 2010 Bir. 3 13:06:38
#6

blist parašė:
Yra tokių žmonių, kurie dar naudojasi IE, be to, šita tema išsikraipo ir su Opera. pamėgink pats..


Tai keičia temą tegul. :)

Parašė dyaz· 2010 Bir. 3 13:06:58
#7

Goku, nieks nepasikeite :|

Parašė vuiter· 2010 Bir. 3 14:06:59
#8

dyaz parašė:
Niekaip nerandu kur themes.php yra klaida kad su IE blogai rodo...

IE:
http://www.ipix.lt/images/797375...

Firefox:
http://www.ipix.lt/images/629023...

theme.php >>>
http://crusader.us.lt/theme.txt

Čia reikia siuntinių teksta - kur rašo siuntinio pavadinima pritrumpint abiejuose, nes ant IE kažkaip patempia raides ir dėl to taip gaunasi kad tema ištempia žemyn. Tokia eilute atsirask siuntinių kode kur temoi includijai ".trimlink($data['download_title'], 35)."</a> ta 35 mažink... :)

Parašė dyaz· 2010 Bir. 3 15:06:00
#9

Decolor, aciu bet jau buvau susitvarkes pries tava posta :]