Reklama 400x60
Gal kas padetu del img ligiavimo ant headerio ? :)
Autorius: pixc3l
Peržiūrų: 1293
pixc3l
Narys
Patrankų mėsa
Pranešimai: 3
Įstojęs: 2010 Rugs. 1 09:09:53
Sveiki tai susiduriau su tokia problemele, ka dangi jau daugiau nei metus su php nieko nedariau tai ir kas kaip uzmirses jau viska Taigi beda yra tokia kad bandau and headerio uzdet paveikslelius ir jej dedu viena gaunas taip (cia kur meniu nekarpitas paveikslelis) bet kaip tik pameginu ideti ar jau sukarpita ar nekarpita meniu tada 1 img imanoma uzdeti o antras ir t.t. jau nebeleidzia uzkelti img ant img va foto pridetu theme.php. Tikuosi atsiras zmoniu kurie nebus lb uzsieme ir pades <?php
if ( ! defined ( "IN_FUSION" ) ) { header ( "Location: ../../index.php" ) ; exit ; }
require_once INCLUDES. "theme_functions_include.php" ;
$body_text = "#000000" ;
$body_bg = "#ffffff" ;
$theme_width = "900" ;
$theme_width_l = "183" ;
$theme_width_r = "183" ;
function render_header( $header_content ) {
global $theme_width , $settings , $locale , $userdata , $aidlink , $db_prefix ;
echo "<tr><table align=center width=785 height=266 background='" . THEME. "images/header.png' style='background-repeat:no-repeat;' border=0 cellspacing=0 cellpadding=0>" ;
echo "<tr><td height=0 class='nuorodos' align='center' style='padding-right:0px; padding-top:0px;'><br>" ;
echo "<td width='483' style='padding-right:293px; padding-top:143px;'>" ;
echo "<table width='483'>" ;
echo "<tr>
<td class='small'>
<img src='" . THEME. "images/meniu.png'>
</td>
</tr>" ;
echo "</table></table>" ;
echo "</td></tr><tr></tr><tr><td></td></tr></table>" ;
echo "<table align='center' width='900' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>" ;
}
function render_footer( $license = false ) {
global $theme_width , $locale , $settings ;
}
function render_news( $subject , $news , $info ) {
global $locale ;
echo "<table class='news-border' border='0' cellspacing='0' width='100%' c ellpadding='0'><tr>" ;
echo "<td height='30' class='table-cellpic'><center>$subject </center></td>" ;
echo "</tr></table>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0' class='border'><tr>" ;
echo "<td><table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='main-body'>$news </td></tr></table>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='news-footer'>" ;
echo "" . $locale [ '040' ] . "<a href='profile.php?lookup=" . $info [ 'user_id' ] . "'>" . $info [ 'user_name' ] . "</a> " ;
echo "" . $locale [ '041' ] . showdate( "longdate" , $info [ 'news_date' ] ) . " </td>" ;
echo "<td height='24' align='right' class='news-footer'>" ;
echo "" . ( $info [ 'news_ext' ] == "y" ? "<a href='news.php?readmore=" . $info [ 'news_id' ] . "'>" . $locale [ '042' ] . "</a> ·\n " : "" ) . "" ;
if ( $info [ 'news_allow_comments' ] )
echo "<a href='news.php?readmore=" . $info [ 'news_id' ] . "'>" . $info [ 'news_comments' ] . $locale [ '043' ] . "</a> · " ;
echo "" . $info [ 'news_reads' ] . $locale [ '044' ] . " " ;
echo "<a href='print.php?type=N&item_id=" . $info [ 'news_id' ] . "'><img src='" . THEME. "images/printer.gif' alt='" . $locale [ '045' ] . "' style='vertical-align:middle;border:0px;'></a>" ;
echo "</td></tr></table></td></tr></table>\n " ;
}
function render_article( $subject , $article , $info ) {
global $locale ;
echo "<table class='news-border' border='1' cellspacing='0' width='100%' c ellpadding='0'><tr>" ;
echo "<td height='23' class='table-cellpic'>$subject </td>" ;
echo "</tr></table>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0' class='border'><tr>" ;
echo "<td><table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='main-body'>" . ( $info [ 'article_breaks' ] == "y" ? nl2br ( $article ) : $article ) . "" ;
echo "</td></tr></table>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='news-footer'>" ;
echo "" . $locale [ '040' ] . "<a href='profile.php?lookup=" . $info [ 'user_id' ] . "'>" . $info [ 'user_name' ] . "</a> " ;
echo "" . $locale [ '041' ] . showdate( "longdate" , $info [ 'article_date' ] ) . "</td>" ;
echo "<td height='24' align='right' class='news-footer'>" ;
if ( $info [ 'article_allow_comments' ] ) echo $info [ 'article_comments' ] . $locale [ '043' ] . " · " ;
echo "" . $info [ 'article_reads' ] . $locale [ '044' ] . " " ;
echo "<a href='print.php?type=A&item_id=" . $info [ 'article_id' ] . "'><img src='" . THEME. "images/printer.gif' alt='" . $locale [ '045' ] . "' style='vertical-align:middle;border:0px;'></a>" ;
echo "</td></tr></table></td></tr></table>\n " ;
}
// Open table begins
function opentable( $title ) {
echo "<table border='1' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='30' class='table-cellpic'>$title </td></tr>" ;
echo "<tr><td class='main-body' width='100%' b gColor='#FFFFFF'>" ;
}
// Close table end
function closetable( ) {
echo "</td></tr></table></td></tr></table>" ;
}
function openside( $title ) {
echo "<table border='1' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='30' class='panel-sidecellpic' align='center'>$title </td></tr>" ;
echo "<tr><td class='side-body' width='100%' b gColor='#FFFFFF'>" ;
}
function closeside( ) {
echo "</td></tr></table></td></tr></table>" ;
tablebreak( ) ;
}
function opensidex( $title , $open = "on" ) {
$boxname = str_replace ( " " , "" , $title ) ;
$box_img = $open == "on" ? "off" : "on" ;
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='left'><img align='right' src='" . THEME. "images/panel_$box_img .gif' name='b_$boxname ' alt='' onclick=\" javascript:flipBox('$boxname ')\" >$title </td></tr>" ;
echo "<tr><td class='side-body' width='100%' b gColor='#FFFFFF'>" ;
echo "<div id='box_$boxname '" ; if ( $open == "off" ) { echo "style='display:none'" ; } echo ">\n " ;
}
function closesidex( ) {
echo "</div></td></tr></table></td></tr></table>" ;
tablebreak( ) ;
}
// Table functions
function tablebreak( ) {
echo "<table width='100%' c ellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n " ;
}
?>
4 atsakymai:
RaZoRaS
Narys
Margas
Pranešimai: 73
Įstojęs: 2011 Spa. 15 14:10:48
Duok web pažiūrėsiu.......0
Mantow
Narys
Generolas
Pranešimai: 879
Įstojęs: 2010 Sau. 23 21:01:28
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "900";
$theme_width_l = "183";
$theme_width_r = "183";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;
echo "<tr><table align='center' width='785' height='266' background='".THEME."images/header.png' style='background-repeat:no-repeat;' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=0 class='nuorodos' align='center' style='padding-right:0px; padding-top:0px;'><br>";
echo"<td width='483' style='padding-right:293px; padding-top:143px;'>";
echo "<table width='483'>";
echo "<tr>
<td class='small'>
<img src='".THEME."images/meniu.png'>
</td>
</tr>";
echo "</table></table>";
echo"</td></tr><tr></tr><tr><td></td></tr></table>";
echo "<table align='center' width='900' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='30' class='table-cellpic'><center>$subject</center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='1' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='1' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='30' class='table-cellpic'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='1' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='30' class='panel-sidecellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='left'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
0
pixc3l
Narys
Patrankų mėsa
Pranešimai: 3
Įstojęs: 2010 Rugs. 1 09:09:53
vistiek tas pats arba ne taip gal img idetu nzn 0
pixc3l
Narys
Patrankų mėsa
Pranešimai: 3
Įstojęs: 2010 Rugs. 1 09:09:53
Taip ir neatsirado zmogus kuris galetu padet 0
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!