31-05-2009, 05:36
(31-05-2009, 05:19)lemuś napisał(a): Może zaserwujesz nam troszkę kodu
No tak


Z index.php cała góra łącznie z "Latest articles"
Kod PHP:
<?php include('snews.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php title(); ?>
<meta name="robots" content="index,follow" />
<meta name="author" content="Solucija.com" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="topbar">
<div class="content">
<div class="wrap content">
<div class="se"><?php searchform(); ?>
</div>
<h1><a href="index.php"><?php echo s('website_title'); ?></a></h1>
</div>
</div>
</div>
<div id="subbar">
<div class="content">
<div class="wrap menu">
<ul>
<li><?php pages(); ?></li>
</ul>
</div>
</div>
</div>
<div class="content">
<div id="main">
<center><img src="2.jpg"></center>
<div class="padding">
<div class="right_side">
<div class="sponsors"> </div>
<h3>Nowe artykuły</h3>
<ul>
<li><?php menu_articles(0,10); ?></li>
</ul>
<div class="extra">
<div class="padding">
<?php extra(); ?>
</div>
</div>
I css - jako cały plik. Taki jest z ściąganym szablonem plus na końcu dodatek z Snews - odpowiednio oddzielony

Pozdrawiam!