Mam piękny formularz:
<td class="side-body" themes="" fifaplay="" images="" back1.gif="" width="100%"><div align="center">
<form name="loginform" method="post" action="news.php">
Nazwa Użytkownika<br>
<input name="user_name" class="textbox" style="width: 100px;" type="text"><br>
Hasło<br>
<input name="user_pass" class="textbox" style="width: 100px;" type="password"><br>
<input name="remember_me" value="y" title="Zapamiętaj mnie" style="vertical-align: middle;" type="checkbox">
<input name="login" value="Loguj" class="button" type="submit"><br>
</form>
<br>
<a style="color: rgb(39, 118, 159);" href="register.php" class="side">Rejestracja</a><br><br>
<a style="color: rgb(39, 118, 159);" href="lostpassword.php" class="side">Zapomniane hasło</a>
</div>
</td>
Oraz piękny theme:
<?
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#C0C7CF";
$theme_width = "1000";
$theme_width_l = "160";
$theme_width_r = "160";
echo "<script type='text/javascript' src='".THEME."search/global.js'></script>";
echo "<script type='text/javascript' src='".THEME."search/menu.js'></script>";
function render_header($header_content) {
global $theme_width,$settings;
include LOCALE.LOCALESET."search.php";
echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
echo "<table border='0' align='center' width='1000px' cellspacing='0' cellpadding='0' bgcolor='#4564A4'>";
echo "<tr><td width='100%' height='86' bgcolor='#FFF'><table border='0' width='1000px' cellspacing='0' cellpadding='0'>";
echo "<center><table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#FFFFFF' width='1000px' height='86px'></center>";
echo "<tr><td width='280px' align='left' height='86px'><img src='".THEME."images/img_01.gif'></td>";
echo "<td width='407px' align='left' background='".THEME."images/img_02.gif' height='86px'></td>";
echo "<td width='313px' align='right' bgcolor='#02263F' height='86px'><center><p class='data'>Dzisiaj jest: Sobota, 20.12.2007r</p></center></td></tr>";
echo "<table border='0' align='center' width='1000px' cellspacing='0' cellpadding='0' bgcolor='#4564A4'>";
echo "<tr><td width='100%' height='42' bgcolor='#FFF'><table border='0' width='1000px' cellspacing='0' cellpadding='0'>";
echo "<center><table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#FFFFFF' width='1000px' height='42px'></center>";
echo "<tr><td width='1000px' align='left' height='42px'><img src='".THEME."images/img_04.gif'></td></tr>";
echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
echo "<table border='0' align='center' width='1000px' cellspacing='0' cellpadding='0' bgcolor='#4564A4'>";
echo "<tr><td width='100%' height='183' bgcolor='#FFF'><table border='0' width='1000px' cellspacing='0' cellpadding='0'>";
echo "<center><table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#FFFFFF' width='1000px' height='183px'></center>";
echo "<tr><td width='245px' align='left' height='183px' background='".THEME."images/img_05.gif'>[b]Czy jest ktoś w stanie tak pozmieniać, żeby ww. formularz znalazł się w tej komórce? Bardzo proszę!![/b]</td>";
echo "<td width='488px' align='left' background='".THEME."images/img_06.gif' height='183px'></td>";
echo "<td width='267px' align='right' background='".THEME."images/img_07.gif' height='183px'></td></tr>";
//Banner code goes here
echo"</table> ";
echo "<table border='0' width='100%' cellspacing='0' cellpadding='0'><tr>";
echo "<td height='39' valign='middle' align='left' >";
echo "<table border='0' width='100%' cellspacing='0' cellpadding='0'><tr>";
//URL's
echo "<td nowrap align=center><a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/img_09.gif'></a></font></td><td nowrap></td>";
echo "<td nowrap align=center><a href='".BASEDIR."forum/index.php'><img border='0' src='".THEME."images/img_10.gif'></a></font></td><td nowrap></td>";
echo "<td nowrap align=center><a href='".BASEDIR."photogallery.php'><img border='0' src='".THEME."images/img_11.gif'></a></font></td><td nowrap></td>";
echo "<td nowrap align=center><a href='".BASEDIR."edit_profile.php'><img border='0' src='".THEME."images/img_12.gif'></a></font></td><td nowrap></td>";
echo "<td nowrap align=center><a href='".BASEDIR."downloads.php'><img border='0' src='".THEME."images/img_13.gif'></a></font></td><td nowrap>";
echo "<a href='#goto_forumsearch' id='forumsearch'><img src='".THEME."images/img_14.gif'></a><script type='text/javascript'>lkmenu_register('forumsearch');</script>";
echo "<div class='lkmenu_popup' id='forumtools_menu' style='display:none'></div>";
echo "<div class='lkmenu_popup' id='forumsearch_menu' style='display:none'>";
echo "<form action='".BASEDIR."search.php' method='post'>";
echo "<table cellpadding='4' cellspacing='0' border='0'>";
echo "<tr><td background='".THEME."images/header.gif' height='27'><img align='left' src='".THEME."images/icon_search.gif'><font class='block-title'><center>Search Menu<a name='goto_forumsearch'></a></font>";
echo "</td></tr>";
echo "<tr><td width='300'><font class='lkmenu_text'>Search for Keywords:</font><hr>";
if ($stype == "") $stype = "n";
echo "<input type='text' name='stext' value='Enter search here...' class='lkmenu_input' style='width:300px' onBlur=\"if(this.value=='') this.value='Enter search here...';\" onFocus=\"if(this.value=='Enter search here...') this.value='';\" ><hr>";
echo "<input type='submit' name='search' value='".$locale['408']."' class='button'><br>";
echo "<input type='radio' name='stype' value='a'".($stype == "a" ? " checked" : "")."> ".$locale['402']."";
echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
echo "<input type='radio' name='stype' value='f'".($stype == "f" ? " checked" : "")."> ".$locale['404']."";
echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
echo "</td></tr></table></form></div>";
echo"<script type='text/javascript'>LKT_init();</script>";
echo"</td></tr></table>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='2' bgcolor='#C0C7CF' cellspacing='0' border='0'>";
echo "<img border='0' src='".THEME."images/mid_bar_back.gif' width='100%' height='3'>";
echo "<img border='0' src='".THEME."images/pixel.gif' width='100%' height='3'>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</td></tr></table>\n";
echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'>";
echo "<tr><td width='100%' background='".THEME."images/foot1.gif' height='80' colspan='3'> ";
echo "</td></tr>";
echo "<tr><td width='35%' height='22' background='".THEME."images/foot2.gif'>";
echo "<div align='left'><font class='tiny'>";
if ($license == false) {
echo " Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo "</font></div></td>";
echo "<td width='20%' height='22' background='".THEME."images/foot2.gif'>";
echo "<div align='center'>Phase II by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></div>";
echo "</td>";
echo "<td width='35%' height='22' background='".THEME."images/foot2.gif'>";
echo "<div align='right'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo " </div></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='4' cellspacing='0'><tr>";
echo "<td class='capmain'> <font class='news-title'>$subject</font></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']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='4' cellspacing='0'><tr>";
echo "<td class='capmain'> <font class='news-title'>$subject</font>";
echo "</td></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']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='0' style='border: 1px solid #4564A4'>";
echo "<tr><td class='capmain2' bgcolor='#6F8DC8'><font class='table-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table bgcolor='#E5E5E5' border='0' style='border: 1px solid #4564A4' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='27' width='100%' bgcolor='#E5E5E5' background='".THEME."images/header.gif'>";
echo " <font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%' '".THEME."images/back1.gif'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table bgcolor='#E5E5E5' border='0' style='border: 1px solid #4564A4' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='27' width='100%' bgcolor='#E5E5E5' background='".THEME."images/header.gif'>";
echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Czy jest ktoś w stanie wysłać mi kod thema z załączonym formularzem w komórce, którą opisałem w kodzi theme.php Z góry dziękuje!!
PW od moderatora:
- Zmiana nazwy tematu - czarny_ 24.12 - 11:55
Edytowane przez PavloS_13 dnia 24.12.2007 12:00:59
|