tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Sveiki norejau paprasyti siokios tokios pagalbos. Pasiemiau dizaina bet jame yra problema jis lyg butu istemtas as nzn nes nerodo puse headero ir nzn kaip istaisyt sita problema Gal jus galit padeti.
Va Kaip atrodo -->
O toks Headeris idetas -->
Idesiu Theme.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$aidlink;
echo "<table cellspacing='0' cellpadding='0' width='1200' align='center'>\n<tr>\n";
echo "<td>\n";
echo"
<td background='".THEME."images/head_1.png' width='1200' height='28' style='font-family: myriad pro; font-weight: Condensed; font-size: 12px; font-style: sharp; color: #565656; padding-left:20px;' align='left'>
SVEIKI ATVYKE I BALTICGAMERS.EU - TU NEESI NARYS. JEI NORI MATYTI TURINI UZSIREGISTRUOK
</td>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='1200'>\n<tr>
<td class='hed_1'>";
echo"</td>
<td align='left' class='hed_2' style='padding-top:0px;'>";include THEME."priedai/news.php";
echo"</td>
<td align='center' class='hed_3' style='padding-top:0px;'>"; echo"</td>
</tr>
<tr>
<table cellpadding='0' cellspacing='0' width='1200' align='center'>
<tr>
<td>
<img border='0' src='".THEME."images/navi/0_1.png'width='58' height='50'></td>
<td>
<a href='".BASEDIR."news.php'><img border='0' src='".THEME."images/navi/0_2.png' width='161' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_3.png' width='158' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_4.png' width='157' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_5.png' width='156' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_6.png' width='157' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_7.png' width='155' height='50' \"></a></td>
<td><a href='".BASEDIR."#'><img border='0' src='".THEME."images/navi/0_8.png' width='159' height='50' \"></a></td>
<td><img border='0' src='".THEME."images/navi/0_9.png' width='39' height='50' \"></a></td>
</tr>
</table>
<tr>
<table align='center' cellpadding='0' cellspacing='0' width='1200'>\n<tr>
<td cellspacing='0' cellpadding='0' width='555' class='slide'>";
echo "<script type='text/javascript' src='js/jquery-1.3.1.min.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
//Execute the slideShow
slideShow();
});
function slideShow() {
//Set the opacity of all images to 0
$('#gallery a').css({opacity: 0.0});
//Get the first image and display it (set it to full opacity)
$('#gallery a:first').css({opacity: 1.0});
//Set the caption background to semi-transparent
$('#gallery .caption').css({opacity: 0.7});
//Resize the width of the caption according to the image width
$('#gallery .caption').css({width: $('#gallery a').find('img').css('width')});
//Get the caption of the first image from REL attribute and display it
$('#gallery .content').html($('#gallery a:first').find('img').attr('rel'))
.animate({opacity: 0.7}, 400);
//Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
setInterval('gallery()',6000);
}
function gallery() {
//if no IMGs have the show class, grab the first image
var current = ($('#gallery a.show')? $('#gallery a.show') : $('#gallery a:first'));
//Get next image, if it reached the end of the slideshow, rotate it back to the first image
var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery a:first') :current.next()) : $('#gallery a:first'));
//Get next image caption
var caption = next.find('img').attr('rel');
//Set the fade in effect for the next image, show class has higher z-index
next.css({opacity: 0.0})
.addClass('show')
.animate({opacity: 1.0}, 1000);
//Hide the current image
current.animate({opacity: 0.0}, 1000)
.removeClass('show');
//Set the opacity to 0 and height to 1px
$('#gallery .caption').animate({opacity: 0.0}, { queue:false, duration:0 }).animate({height: '1px'}, { queue:true, duration:300 });
//Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect
$('#gallery .caption').animate({opacity: 0.7},100 ).animate({height: '50px'},500 );
//Display the content
$('#gallery .content').html(caption);
}
</script>
<style type='text/css'>
body{
font-family:arial
}
.clear {
clear:both
}
#gallery {
position:relative;
height:176px
}
#gallery a {
float:center;
position:absolute;
}
#gallery a img {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
#gallery a.show {
z-index:500
}
#gallery .caption {
z-index:600;
background-color:#000;
color:#ffffff;
height:50px;
width:100%;
position:absolute;
bottom:0;
}
#gallery .caption .content {
margin:5px
}
#gallery .caption .content h3 {
margin:0;
padding:0;
color:#b94515;
}
</style>
<div id='gallery' style='padding-left:0px; padding-bottom:2px;'>
<a>
<img src='".THEME."images/1slide.png' alt='TRANSFORMERIAI: TAMSIOJI M?NULIO PUS?' width='540' height='176' title='' alt='' rel='<h3>TRANSFORMERIAI: TAMSIOJI MĖNULIO PUSĖ</h3>Istorija perskelia į žemę, kur išleidžiamas įsakymas apie gerųjų Autobotų iškėlimą iš žmonių planetos, kurioje po gėdingai pralaimėto mūšio'/>
</a>
<a>
<img src='".THEME."images/1slide.png' alt='TRANSFORMERIAI: TAMSIOJI M?NULIO PUS?' width='540' height='176' title='' alt='' rel='<h3>TRANSFORMERIAI: TAMSIOJI MĖNULIO PUSĖ</h3>Istorija perskelia į žemę, kur išleidžiamas įsakymas apie gerųjų Autobotų iškėlimą iš žmonių planetos, kurioje po gėdingai pralaimėto mūšio'/>
</a>
<a>
<img src='".THEME."images/1slide.png' alt='TRANSFORMERIAI: TAMSIOJI M?NULIO PUS?' width='540' height='176' title='' alt='' rel='<h3>TRANSFORMERIAI: TAMSIOJI MĖNULIO PUSĖ</h3>Istorija perskelia į žemę, kur išleidžiamas įsakymas apie gerųjų Autobotų iškėlimą iš žmonių planetos, kurioje po gėdingai pralaimėto mūšio'/>
</a>
<div class='caption'><div class='content'></div></div>
</div></td>";
if (iMEMBER) {
echo "<td cellspacing='0' cellpadding='0' width='645' style='padding-right:10px;' class='log'>";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='' border='0' cellspacing='0' cellpadding='0' style='padding-left: 20px; padding-top: 0px;'>
<tr>
<td>";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='150' height='150' style='border:2px solid #0077b5'></center>\n";
} else {
echo "<center><img src='".THEME."images/noavatar.png' width='150' height='150' style='border:2px solid #dddddd'></center>\n";
}
echo "</td>
<td><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='sveikas'> Mano profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='sveikas'> Redaguoti aprašymą</a><br>
<a href='".BASEDIR."messages.php' class='sveikas'> Žinutės</a><br>
<a href='".BASEDIR."members.php' class='sveikas'> Nariai</a>
<br><br><br><a href='".BASEDIR."setuser.php?logout=yes' class='sveikas'> Atsijungti<span style='color: #a7fe00;'>[x]</span></a><br>";
echo"</td>
<td width='30'></td>
<td>
<br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='sveikas'> Admin Panel</a>";
}
echo"</td>
<td><br>
</td></table>";
} else {
echo "<td cellspacing='0' cellpadding='0' width='645' class='log2' >";
echo "<table width='645' border='0' cellspacing='0' cellpadding='0' align='center'>
<form name='loginform' method='post' action='".FUSION_SELF."'>
<table width='0' border='0' cellspacing='0' cellpadding='0' align='left' style='padding-right: 105px; padding-top: 20px;'>
<tr>
<td align='left' style='padding-right: 25px;'></td>
<td><input type='text' name='user_name' value='Vartotojo vardas' onfocus=\"if(this.value=='Vartotojo vardas...'){this.value='';}\" onblur=\"if(this.value==''){this.value='Vartotojo vardas...';}\" class='log-textbox' style='width:227px; height:32px;'>
</tr>
<tr>
<td height='5'></td>
<td></td>
</tr>
<tr>
<td align='left' style='padding-left: 0px;'></td>
<td><input type='password' name='user_pass' value='slaptazodis' onfocus=\"if(this.value=='slaptazodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='slaptazodis';}\" class='log-textbox' style='width:227px; height:32px;'>
</tr>
</table>
<table width='645' border='0' cellspacing='0' cellpadding='0' align='left' style=' padding-top: 10px; padding-left: 63px;'>
<tr>
<td align='left'>
<td><input type='submit' name='login' value='' class='log-button'><br> <a style=' color : #7b7b7b;font-family : Arial; font-size : 12px; font-weight: bold;' href=".BASEDIR."register.php>Registracija</a> | <a style='color : #7b7b7b;font-family : Arial; font-size : 12px; font-weight: bold;' href=".BASEDIR."priminti-slaptazodi.html>slaptazodis</a>
</form></div></table>";
}
echo"</td>
</tr></table>
<table align='center' cellpadding='0' cellspacing='0' width='1200'>\n<tr>
<td background='".THEME."images/bele/01.png' width='123' height='47'>";
echo"</td>
<td background='".THEME."images/bele/02.png' width='186' height='47'>";
echo"<div style='padding-left:42px; padding-bottom:3px; color : #6e6e6e;font-family : Myriad Pro; font-size : 12px; font-weight: bold; font-weight: Condensed; font-style: sharp;'>";
include THEME."/priedai/data.php";
echo"</td>
<td background='".THEME."images/bele/03.png' width='163' height='47'>";
echo"</td>
<td background='".THEME."images/bele/04.png' width='187' height='47'>";
echo"<div style='padding-left:30px; padding-bottom:6px; color : #6e6e6e;font-family : Myriad Pro; font-size : 12px; font-weight: bold; font-weight: Condensed; font-style: sharp;'>";
include THEME."/priedai/nariu.php";
echo"</td>
<td background='".THEME."images/bele/05.png' width='212' height='47'>";
echo"</td>
<td background='".THEME."images/bele/06.png' width='188' height='47'>";
echo"<div style='padding-left:48px; padding-bottom:6px; color : #6e6e6e;font-family : Myriad Pro; font-size : 12px; font-weight: bold; font-weight: Condensed; font-style: sharp;'>";
include THEME."/priedai/turnyras.php";
echo"</td>
<td background='".THEME."images/bele/07.png' width='119' height='47'>";
echo"<div style='padding-left:30px; padding-bottom:3px;'>";
include THEME."/priedai/fbsk.php";
echo"</td>
<td background='".THEME."images/bele/08.png' width='22' height='47'>";
echo"</td>
</tr>
</tr>
</table>
</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='1172' align='center' class='content'><tr>\n";
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (LEFT) { echo "<td class='side-border-left' valign='top' width='205'>".LEFT."</td>"; }
if (RIGHT) { echo "<td class='side-border-right' valign='top' width='180'>".RIGHT."</td>"; }
echo"</tr>
</table>";
echo"</td>";
echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' align='center' width='940' class='foot'>
</table>
<table align='center' cellpadding='0' cellspacing='0' align='center' width='940' class='footer'><tr><td align='center' style='padding-bottom:150px; padding-right:15px;'><a href='".BASEDIR."http://www.balticgamers.eu' title='BALTICGAMERS.EU' ><span style='font-family: arial; font-weight: regular; font-size: 18px; font-style: sharp; color: #878787; text-shadow: #000000 1px 1px 1px;'>BALTIC<span style='color: #ffd100;'>GAMERS</span>.EU</a>
<span style='font-family: arial; font-weight: regular; font-size: 12px; font-style: sharp; color: #878787; text-shadow: #000000 1px 1px 1px;'><center>2011-2012</center></span><center><span style='color: #ffd100;'>KODAVIMAS </span><span style='color:#878787;'>: <a href='".BASEDIR."http://www.dangis.mes'>Dangiis</span>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='819'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo "</td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td width='100%' class='panel-main3'>".$subject."</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body-ajax'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "</td>\n";
echo "</tr><tr>\n";
echo "</tr>\n</table>\n";
echo"<img src='".THEME."images/blank.gif' height='5' style='display:block'>";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='819'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</tr>\n</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='299'>
<tr>
<td class='panele'><div style='font-family : Arial; font-size : 12px;text-transform: uppercase; font-weight: bold; padding-top: 10px;'>$title<br></div><div style='font-family: arial; font-size: 11px; color: #565656; padding-bottom:15px;'>$title</div></td>
</tr>";
echo "<table cellpadding='0' cellspacing='0' width='299'>
<tr>
<td class='side-body'>\n";
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "<tr>";
echo "<td class='side-close'><img src='".THEME."images/blank.gif' width='1' height='7' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
?>
|
troopis
Narys
Nuolatinis
Pranešimai: 136
Įstojęs: 2008 Vas. 3 20:02:45
|
Kiek zinau prie to dizaino yra priedai ar kazkas tokia, turi buti papildoma papke ir ten bus NEWS.PHP paspaudi ten ir susirask zodi KATEGORIJA ar KATEGORIJOS nepamenu gerai.. Ten turi irasyti neujinu skaiciu ir tada headeris atsiras. +1
|
troopis
Narys
Nuolatinis
Pranešimai: 136
Įstojęs: 2008 Vas. 3 20:02:45
|
Tomas cia turi irasyti $kategorijos_id <-- Naujienos ID , Per administracija susirask kur gali redaguoti ar prideti kategorijas ir suzinok koks yra NAUJIENOS ID. Tiksliai negaliu pasakyt nes senai benaudojau php-f :/ +1
|
troopis
Narys
Nuolatinis
Pranešimai: 136
Įstojęs: 2008 Vas. 3 20:02:45
|
Po administracija pasiknaisiok tikrai rasi +1
|
Jaunelis
Narys
Antras po Dievo
Pranešimai: 4735
Įstojęs: 2007 Rugs. 23 08:09:32
|
echo "<table cellspacing='0' cellpadding='0' width='1200' align='center'>\n<tr>\n";
echo "<td>\n";
echo"
<td width='1200' height='28' style='background-image:".THEME."images/head_1.png; font-family: myriad pro; font-weight: Condensed; font-size: 12px; font-style: sharp; color: #565656; padding-left:20px;' align='left'>
SVEIKI ATVYKE I BALTICGAMERS.EU - TU NEESI NARYS. JEI NORI MATYTI TURINI UZSIREGISTRUOK
</td>";
0
code and design solutions tinklalapių kūrimas |
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Nk nepasitaiso. Kaskas neto. Tiik nusiema tas pats virsutinis baltas ir nzn kame problema. Prasua padekit jei zinot 0
Redagavo tomas710 2012 Vas. 7 19:02:01
|
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Jo egzistuoja. Jis yra sudarytas is 3 headeriu, Kiek matau Hed tai ten tas pilnas. header_2 Viena dalis Header_3 Kita dalis vienoj daly yra tas uzrasas ir paveikslelis. 0
|
Jaunelis
Narys
Antras po Dievo
Pranešimai: 4735
Įstojęs: 2007 Rugs. 23 08:09:32
|
echo "<table cellspacing='0' cellpadding='0' width='1200' align='center'>\n<tr>\n";
echo "<td>\n";
echo"
<td class='headeris' width='1200' height='28'align='left'>
SVEIKI ATVYKE I BALTICGAMERS.EU - TU NEESI NARYS. JEI NORI MATYTI TURINI UZSIREGISTRUOK
</td>";
styles faile sukuri:
.headeris {background:images/head_1.png; font-family: myriad pro; font-weight: Condensed; font-size: 12px; font-style: sharp; color: #565656; padding-left:20px;}
Ir turi veikt0
code and design solutions tinklalapių kūrimas
|
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Tai gal tau atsiust Pati dizaina kad labiau susigaudytum. Nes manau is mano paiskinimu ir taip nelabai supranti ? 0
|
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Bet ten jau yra head_1 Head_2 nes kaip idejau netoli ju nieko nepasikeite o style.css Kodai tai tokie
Nes be headerio webas nu man ne zn kaip tada gal koki kita diz imti nes neisivaizduoju. gal cia kur nors brokas sitam dize
a {
color:#6a6a6a;
text-decoration:none;
}
a:link {color:#6a6a6a;} /* unvisited link */
a:visited {color:#6a6a6a;} /* visited link */
a:hover {color:#6a6a6a;} /* mouse over link */
a:active {color:#6a6a6a;} /* selected link */
a.side {
color:#f2f2f2;
text-decoration:none;
}
a:hover.side {
color:#fff;
text-decoration:underline;
}
a.white {
color:#fff;
text-decoration:none;
}
a:hover.white {
color:#fff;
text-decoration:underline;
}
.sveikas {
font-family: myriad pro;
font-size:13px;
font-style: crisp;
color: #636363;
text-shadow: #f7f7f7 1px 1px 0px;
text-transform: uppercase;
}
a.sveikas {
font-family:Myriad Pro;
font-size: 13px;
font-style: crisp;
color: #636363;
text-shadow: #f7f7f7 1px 1px 0px;
text-transform: uppercase;
}
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:#fff;
margin: 0px;
background-repeat: repeat-x;
background-color : #191919;
}
.shoutborder {
background: url(images/kaz.png);
background-repeat: repeat-x;
height: 9px;
}
.hed {
background: url(images/head_1.png) no-repeat;
height: 28px;
width: 1200px;
}
.hed_1 {
background: url(images/head_2.png) no-repeat;
height: 193px;
width: 655px;
}
.hed_2 {
background: url(images/head_3.png) no-repeat;
height: 193px;
width: 530px;
}
.hed_3 {
background: url(images/head_4.png) no-repeat;
height: 193px;
width: 15px;
}
.heda {
font-family: myriad pro;
font-weight: Condensed;
font-size: 12px;
font-style: sharp;
color: #565656;
}
.slide {
background: url(images/1.png) no-repeat;
height: 185px;
width: 555px;
padding-left:18px;
padding-bottom: 1px;
}
.log {
background: url(images/2.png) no-repeat;
height: 185px;
width: 645px;
}
.log2 {
background: url(images/3.png) no-repeat;
color:#636363;
height: 185px;
width: 306px;
}
.log3 {
background: url(images/4.png) no-repeat;
color:#636363;
height: 185px;
width: 339px;
}
.border {
background-color:#ddd;
border:0px #D1D8DD solid;
}
.outer-border {
border : 0px solid #f2f2f2;
}
img {
border: 0px;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border:0px #fff solid;
}
hr.side-hr {
border:0px #fff solid;
}
td {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
.alt {
color:#b5b5b5;
}
.footer {
background-image : url('images/footer.png');
font-family: Tahoma;
font-size:10px;
color:#fff;
width: 1200px;
height: 243px;
}
.button {
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #545454;
border: 0px solid #000;
height: 22px;
margin-top: 2px;
}
.button:hover {
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #484848;
border: 0px solid #000;
height: 22px;
margin-top: 2px;
}
.log-button {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color:#744725;
font-weight: bold;
text-align: center;
background-image: url(images/log-butt.png);
background-repeat: no-repeat;
width: 147px;
height: 41px;
border: none;
}
.reg-pw {
font-family: Arial;
font-size: 10px;
color: #7b7b7b;
font-weight: bold;
border: none;
}
.button-of {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
text-shadow: #0077b5 0px 1px 0px;
background-image: url(images/of.png);
background-repeat: no-repeat;
padding: 6px;
padding-left: 13px;
padding-right: 15px;
height: 24px;
width: 91px;
border: 0px solid #000;
margin-top: 2px;
}
.button-ok {
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-image: url(images/button-ok.png);
background-repeat: no-repeat;
border: none;
height: 28px;
margin-top: 2px;
}
.shout-textbox {
font-family:Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#dadada;
background-image: url(images/shout-bg.png);
border: 0px solid #ccc;
width: 184px;
height: 76px;
background-repeat: no-repeat;
padding-left: 0px;
}
.log-textbox {
font-family:Arial;
font-size:11px;
color:#c2c2c2;
background-image: url(images/log-bg.png);
border: 0px solid #ccc;
width: 227px;
height: 32px;
background-repeat: no-repeat;
padding-left: 15px;
}
.main-bg {
padding: 7px 5px 15px 20px;
background-color: #f2f2f2;
}
.side-border-left {
padding: 3px 5px 0px 0px;
background: #fff;
}
.side-border-right {
padding: 0px 5px 0px 0px;
background: #f2f2f2;
}
.content {
padding-right:4px;
padding-left:1px;
}
.main-body {
background-color:#f2f2f2;
font-family:Tahoma;
font-size:11px;
color:#999999;
height:82px;
background-repeat: no-repeat;
background-image: url(images/main-bg.png);
padding-left: 15px;
padding-right:15px;
padding-top: 5px;
padding-bottom: 5px;
}
.side-body {
background-image: url('images/side-body.png');
background-repeat: repeat-y;
background-color:#f2f2f2;
background-position: top center;
font-family:Arial;
font-size:11px;
color:#2c2c2c;
padding-left: 15px;
padding-right: 15px;
}
.side-body a {
color:#2c2c2c;
text-decoration:none;
}
.side-body a:hover {
color:#2c2c2c;
text-decoration:underline;
}
.panel-main {
font-family:Tahoma;
font-size:10px;
text-transform: uppercase;
font-weight: bold;
color:#ffffff;
height:40px;
padding:0px 2px 0px 15px;
background-image:url(images/side/panel-main.png);
background-repeat:no-repeat;
}
.side-close {
height:22px;
background-image: url(images/side-close.png);
background-repeat:repeat-x;
background-color:#f2f2f2;
}
.capmain {
font-family : Arial;
font-size : 12px;
color : #FFF;
background-image:url(images/capmain.png);
background-repeat:no-repeat;
width:819px;
height:42px;
background-color : #eeeeee;
padding-left : 30px;
}
.panele {
text-align: left;
padding-left: 15px;
color : #878787;
text-shadow: #000 1px 1px 0px;
background: url(images/scapmain.png);
height: 59px;
}
.border-left2 {
width:5px;
background-color: #3b3b3b;
background-repeat:repeat-y;
}
.data {
font-family: Verdana;
font-size: 11px;
font-weight: bold;
color: #000;
float: left;
height: 47px;
width: 186px;
margin: 10px 80px 0px 0px;
}
.center {
margin: 0 auto;
}
.tbl-border {
border:0px #424242 solid;
}
.tbl-border2 {
font-family: Tahoma;
font-size : 10px;
color : #fff;
background-color : #424242;
}
.tbl5 {
font-family: Tahoma;
font-size : 10px;
color : #999999;
background-color : #dfdfdf;
padding : 4px;
text-shadow: #fff 1px 1px 0px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.tbl5 a {
font-family: Tahoma;
font-size : 10px;
color : #999999;
text-shadow: #fff 1px 1px 0px;
}
.tbl {
color: #6a6a6a;
font-size:10px;
padding:3px 4px 3px 4px;
background-color:#e3e3e3;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.tbl1 {
font-family: Tahoma;
font-size : 10px;
color : #6a6a6a;
background-color:#e3e3e3;
padding : 4px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.tbl2 {
font-family: tahoma;
font-size:10px;
color:#6a6a6a;
background-color:#e3e3e3;
padding:4px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.tbl3 {
font-family: Tahoma;
font-size:10px;
color:#6a6a6a;
background-color:#e3e3e3;
padding:4px;
border:0px #6d4629 solid;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.forum-caption {
font-size:10px;
font-weight:bold;
height:22px;
color:#fff;
background-color:#3d3d3d;
padding:4px 4px 4px 4px;
}
.quote {
color:#b5b5b5;
background-color:#4d4d4d;
padding:2px;
margin:0px 20px 0px 20px;
border:1px #424242 solid;
border-left: 6px solid #424242;
}
.poll {
height:12px;
border:0px #D1D8DD solid;
}
.comment-name {
font-weight:bold;
color:#dcdcdc;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
color:#b5b5b5;
}
.side-small {
font-size:10px;
font-weight:normal;
color:#ffffff;
}
.side-label {
background-color:none;
padding:1px 4px 3px 4px;
height:17px;
background-repeat:repeat-x;
}
.tbl5 {
font-family: Tahoma;
font-size : 10px;
color : #999999;
background-color : #dfdfdf;
padding : 4px;
text-shadow: #fff 1px 1px 0px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.tbl5 a {
font-family: Tahoma;
font-size : 10px;
color : #999999;
text-shadow: #fff 1px 1px 0px;
}
.borderis {
border:2px #e7e7e7 solid;
background-color : #e7e7e7;
border-radius: 4px;
padding-top:3px;
padding-bottom:3px;
padding-left:3px;
padding-right:3px;
}
.borderis2 {
border:2px #202020 solid;
background-color : #202020;
border-radius: 4px;
padding-top:3px;
padding-bottom:3px;
padding-left:3px;
padding-right:3px;
}
0
Redagavo tomas710 2012 Vas. 7 19:02:12 |
Jaunelis
Narys
Antras po Dievo
Pranešimai: 4735
Įstojęs: 2007 Rugs. 23 08:09:32
|
.headeris {background:url(images/head_1.png); font-family: myriad pro; font-weight: Condensed; font-size: 12px; font-style: sharp; color: #565656; padding-left:20px;}
va dabar veiks tikrai.0
code and design solutions tinklalapių kūrimas |
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Irasau Prie Borderis2 paciam gale ir nk. Turbtu tave trugdau su tokia nesamone krc
.borderis2 {
border:2px #202020 solid;
background-color : #202020;
border-radius: 4px;
padding-top:3px;
padding-bottom:3px;
padding-left:3px;
padding-right:3px;
}
.headeris {background:url(images/head_1.png);font-family: myriad pro; font-weight: Condensed; font-size: 12px; font-style: sharp; color: #565656; padding-left:20px;}
0
|
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Tikrai. Tai cia kur rasyt ? Kiek tu naujienu
<?php
global $userdata, $aidlink, $locale, $db_prefix, $theme_width, $result;
$kategorijos_id = 3;
$rezas = dbquery(
"SELECT tn.*, user_id, user_name FROM ".$db_prefix."news tn
LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id
WHERE news_draft='0' and news_cat='$kategorijos_id'
ORDER BY news_reads DESC LIMIT 0,1"
);
echo "<table width='0' cellspacing='0'>\n<tr>\n";
if (dbrows($rezas) != 0) {
while($data = dbarray($rezas)) {
echo"<tr>
<td>
<table cellspacing='0' cellpadding='0'>
<td width='0' height='0' style='padding-left: 10px; padding-top: 40px;'>
<img src='".$data['screenshot1']."' width='258' height='115'/></a>
</td>
<td style='padding-left: 5px; padding-top:35px; padding-right: 15px;'>
".trimlink($data['news_news'], 380)."
</td>
</tr>
</table> ";
}
echo"</tr>";
echo "</tr></table>\n";
}
?>
0
|
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
bl nerandu nu pajieskosiu
Aciu tau labai dekuj dekuj ir dar karta dekuj dekuj0
Redagavo tomas710 2012 Vas. 7 21:02:07 |
tomas710
Narys
Buldozeris
Pranešimai: 202
Įstojęs: 2010 Lap. 21 18:11:43
|
Jau radau Aciu aciu ir dar karta aciu Pirma karta su tokia beda susiduriau
Istaisyti sita beda reikia taip.
1.Susirandate papke Priedai
2.Atsidarote news.php
3.Susirandate eilute WHERE news_draft='0' and news_cat='$kategorijos_id'
Jei atidarysit su ++notepad tai bus 8 Eilute
4.Pakeiciate WHERE news_draft='0' and news_cat='$kategorijos_id'
pakeisti reikia news_cat='$kategorijos_id'
5.Kaip suzinoti Naujienu Kategorijos ID --> Einate i Admin panele. Einate i Pati pirma Anglu kalba bus Content Admin --. Naujienos , News. Sukurus naujiena(Virsuja rodys news_cats.php?cat_id=<b>11</b>
Tai tas cat_id Skaicius bus jusu Kategorijos ID. Pakeite turetu rodyti jusu Headeri 0
Redagavo tomas710 2012 Vas. 8 21:02:47 |
Rasmitas
Narys
Pulkininkas
Pranešimai: 493
Įstojęs: 2006 Sau. 22 15:01:44
|
o kartais ne "Theme" forume turejo but sukurta sita tema?
ir del paskutinio posto, buvo galima panaudoti REDAGAVIMO funkcija ... ir iklijuoti i viena pranesima o ne 10 kart rasyt ta pati ...
O butu labai saunu jeigu dar parasytum kaip istaisei sita klaida, kad kitiems zaliems butu aiksu ... o poto padekuoti0
|