Witam,
Chciałem poprosić was o pomoc w ruszeniu z miejsca. Ogarniam html, uruchomiłem forum i teraz staram się ogarnąć je pod swoje wymagania.
1. Czy plik główny w którym wszystko się pokazuje musi być php czy może być htm ?
2. Jeśli może być w formacie htm to:
Zrobiłem szablon co i gdzie chcę porozmieszczać jak niżej:
Kod:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HEAD>
<TITLE>Camellia</TITLE>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-2">
<META HTTP-EQUIV="Content-Language" CONTENT="en">
<META NAME="Keywords" CONTENT="Camellia">
<META NAME="Description" CONTENT="Camellia">
<META NAME="Author" CONTENT="Camellia">
<META NAME="identifier-url" content="www">
<META NAME="reply-to" content="@">
<META NAME="revisit-after" content="7 days">
<META NAME="distribution" content="Global">
<META NAME="Robots" CONTENT="noindex, nofollow">
<META NAME="Copyright" content="Camellia, 2011 (c)">
</HEAD>
<BODY BGCOLOR="#000000">
<!-- Construction START here -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center">
<div style="position: relative; width: 1021px;">
<!-- TOP START here -->
<table height="240px" cellspacing="0" cellpadding="0" border="0" bgcolor="222222">
<tr>
<td width="11px">
</td>
<td align="center" width="240px" background="images/c_bg_6x261.png">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" width="240" valign="top">
<!-- Login Panel START here -->
<table cellspacing="0" cellpadding="3" border"0" width="220" style"margin-top: 100px;">
<form id="login" action="./ucp.php?mode=login" method="post"></form>
<table>
<tr>
<td align="left" colspan="2">
<span> User Panel:</span>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<span>User ID</span>
</td>
</tr>
<tr>
<td colspan="2">
<input id="username" type="text" name="username" style="width:206; height:19; color:#ffffff; font-size:10px; background-color:black; border:0;" tabindex="1">
</td>
</tr>
<tr>
<td align="left" colspan="2">
<span>Password</span>
</td>
</tr>
<tr>
<td>
<input id="password" type="password" maxlength="32" size"10" name="password" style="width:127; height:19; color:#ffffff; font-size:10px; background-color:black; border:0;" tabindex="2">
</td>
</tr>
<tr>
<td width="100">
<input type="hidden" value="" name"sid">
<input type="hidden" value="index.php" name"redirect">
<input type="submit" value="Login" name"login" style="cursor:pointer; cursor:hand; width:73; height:19; border:0; background:gray url(images/..) no-repeat top left" tabindex="6">
</td>
</tr>
<tr>
<td colspan="2">
<input id="autologin" class="text" type="checkbox" name="autologin" tabindex="4">
<span class=""> Login automatically</span>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<span class=""><a href="profile.php"> NEW REGISTRATION</a></span>
</td>
</tr>
</table>
</table>
<!-- Login Panel END here -->
</td>
</tr>
</table>
</td>
<td width="759px">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="198px">
</td>
</tr>
<tr>
<td height="42px">
</td>
</tr>
</table>
</td>
<td width="11px">
</td>
</tr>
</table>
<!-- TOP END here -->
</td>
</tr>
</table>
<!-- Construction END here -->
</BODY>
Problem jest taki, że od wrzucenia panelu całość się rozjeżdża a sam login panel nie działa. Nie bardzo wiem także co dać jako value przy
Kod:
<input type="hidden" value="" name"sid">
Sam plik wrzuciłem obok głównego inxex.php w strukturze forum także powinien mieć dostęp do danych

Idea jest taka, żeby to była samodzielna strona z częścią gdzie wyświetlać się będzie zawartość forum.
Dzięki za pomoc!