Aranjare pagina .html ! (nevoie)

Discutii despre tot ce nu se incadreaza in celelalte categorii.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
User avatar
paprikka.
Membru, skill 0
Membru, skill 0
Posts: 56
Joined: 29 Dec 2009, 22:13
Detinator Steam: Nu
Reputatie: ban 3 luni
(Ban scos de 1 mai!)
(Ban scos de 1 mai!)

04 Feb 2010, 01:47

Aiciiii | Afiseaza codul
<?php 
 /**
 * Pagina a jocului --------- !
   Folosirea scripturlui fara autorizatia autorului este interzisa
   Daca doriti sa folositi acest script Legal ! Contactati Administratorul -------------
 */
 
session_start(); 
include('includes/include.php');
include("database.php");
include("login.php");
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/loginmodule.css" rel="stylesheet" type="text/css">
<title>----------------- | Vino cu ursuletul tau intr-o lume virtuala!</title>
		<script src="js/prototype.js" type="text/javascript"></script>
		<script src="js/scriptaculous.js" type="text/javascript"></script>
		<script src="js/effects.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
	background-color: #5dd000;
}
.style4 {font-weight: bold}
.style14 {
	font-size: 12px;
	color: #99CC00;
	font-weight: bold;
}
-->
</style></head>

<body>
<table width="964" height="346" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/urs1.jpg" valign="top"><table width="964" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="394" height="346" valign="top"><table width="389" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="124" height="264" valign="bottom"><?php


//select the table
$result = mysql_query("select * from users ORDER by hits DESC Limit 1,1");

//grab all the content
while($r=mysql_fetch_array($result))
{
$animal=$r["dracusor"];
$stapan=$r["username"];
$email=$r["email"];
$tip=$r["tip"];
$number_of_hits=$r["hits"];
$id=$r["id"];
//display the row in a table
echo "
  <center><a href=Ursulet-$id-$animal><font size=2>$animal</font></a></center><br><img src=img/thumb_$tip.png>
 ";
}
?></td>
            <td width="134" valign="top"><table width="132" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="132" height="192" valign="bottom"><?php


//select the table
$result = mysql_query("select * from users ORDER by hits DESC Limit 0,1");

//grab all the content
while($r=mysql_fetch_array($result))
{
$animal=$r["dracusor"];
$stapan=$r["username"];
$email=$r["email"];
$tip=$r["tip"];
$number_of_hits=$r["hits"];
$id=$r["id"];
//display the row in a table
echo "
 <center><a href=Ursulet-$id-$animal><font size=2>$animal</font></a></center><br><img src=img/thumb_$tip.png>
 ";
}
?></td>
              </tr>
              <tr>
                <td height="43">&nbsp;</td>
              </tr>
            </table></td>
            <td width="131" valign="bottom"><?php


//select the table
$result = mysql_query("select * from users ORDER by hits DESC Limit 2,1");

//grab all the content
while($r=mysql_fetch_array($result))
{
$animal=$r["dracusor"];
$stapan=$r["username"];
$email=$r["email"];
$tip=$r["tip"];
$number_of_hits=$r["hits"];
$id=$r["id"];
//display the row in a table
echo "
  <center><a href=Ursulet-$id-$animal><font size=2>$animal</font></a></center><br><img src=img/thumb_$tip.png>
 ";
}
?></td>
          </tr>
        </table></td>
        <td width="566" valign="top"><table width="561" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="174">&nbsp;</td>
          </tr>
          <tr>
            <td height="147" valign="top"><table width="502" height="145" border="0" cellpadding="0" cellspacing="0">
              <tr>
             </table></td>
      </tr>
      
    </table></td>
  </tr>
</table>
<table width="964" height="95" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/header.gif" valign="top"><table width="596" border="0" cellspacing="0" cellpadding="0">
      <tr>
              <td width="36"><img src="images/sageata1.gif" alt="" width="36" height="38" border="0"></td>
              <td width="389"><marquee><h1>Bun venit pe ------</h1></marquee></td>
              <td width="48"><img src="images/sageata2.gif" alt="" width="36" height="38" border="0"></td>
               <tr>
              <td width="20"><img src="images/onlineu.jpg" alt="" width="20" height="20" border="0"></td>
              <td width="93"><?php include('onlineuser.php'); ?></td>
            </tr>
      </tr>
</table>
<table width="926" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="117" height="35"><a href="index.php"><img src="images/acasa.gif" width="117" height="39" border="0"></a></td>
    <td width="125"><a href="Inregistrare.ursulet"><img src="images/inregistrare.gif" width="125" height="39" border="0"></a></td>
    <td width="150"><a href="Top.ursulet"><img src="images/top.gif" width="150" height="39" border="0"></a></td>
    <td width="135"><a href="Despre_Joc.ursulet"><img src="images/despre.gif" width="135" height="39" border="0"></a></td>
    <td width="82"><a href="Premii.ursulet"><img src="images/premii.gif" width="100" height="39" border="0"></a></td>
    <td width="96"><a href="Castigatori.ursulet"><img src="images/castigatori.gif" width="120" height="39" border="0"></a></td>
        <td width="115"><a href="Contact.ursulet"><img src="images/contact.gif" width="115" height="39" border="0"></a>
		 <td width="115"><a href="Membru.ursulet"><img src="images/membrii.gif" width="115" height="39" border="0"></a></td>
    </td>
  </tr>
</table>
<table width="964" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="964" height="57" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="19"><img src="images/urs2.gif" width="964" height="25" alt=""></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#5dd000"><table width="964" border="0" cellpadding="0" cellspacing="0" bgcolor="#72ff00">
      <tr>
        <td width="6" height="308" valign="top" bgcolor="#5dd000"></td>
        <td width="247" valign="top" background="images/urs3.gif"><div class="featurebox">
          <div class="tlb">
            <table width="247" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="44" background="images/urs4.gif"><table width="238" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="45" height="20"><div align="right"><a onclick="new Effect.toggle('s1','blind', {queue: 'end'}); "><img src="images/down.gif"> </a></div></td>
                    <td width="193" valign="top"><table width="86" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="22" height="19">&nbsp;</td>
                        <td width="64"><span class="style14">Login</span></td>
                      </tr>
                 </table>
          </div>
          <div id="s1">
            <div class="tog">
              <table width="247" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="51" background="images/urs5.gif"><table width="240" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="23">&nbsp;</td>
                        <td width="217"><? 
   if($logged_in){
$username = addslashes($username);
$result = mysql_query("select * from users where username='$username'");

//grab all the content
while($r=mysql_fetch_array($result))
{
$id=$r["id"];
$nume=$r["nume"];
$dracusor=$r["dracusor"];
$tip=$r["tip"];
   echo "<table border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td><h1>Ursuletul $dracusor</h1></td>
  </tr>
  <tr>
    <td><div align=center><img src=img/thumb_$tip.png></div></td>
  </tr>
    <tr>
    <td><a href=Ursulet-$id-$dracusor class=test><img src=images/profil_tau.gif border=0></a></td>
  </tr>
    <tr>
      <td><a href=Membru.drac class=test><img src=images/cont_tau.gif border=0></a></td>
    </tr>
	    <tr>
      <td><a href=Modificare_Cont.ursulet class=test><img src=images/modificare.gif border=0></a></td>
    </tr>
    <tr>
      <td><a href=logout.php class=test><img src=images/log_out.gif border=0></a></td>
    </tr>
</table>
";
   }
   }
   else{
   echo '<form action="Membru.ursulet" method="post">
<table align="left" border="0" cellspacing="0" cellpadding="3">
<tr><td>Utilizator:</td><td><input type="text" name="user" maxlength="30"></td></tr>
<tr><td>Parola:</td><td><input type="password" name="pass" maxlength="30"></td></tr>
<tr><td colspan="2" align="left"><input type="checkbox" name="remember">
<font size="2">Tine-ma minte</td></tr>
<tr><td colspan="2" align="right"><input type="submit" name="sublogin" value="Logare"></td></tr>
<tr><td colspan="2" align="left"></td></tr>
</table>
</form>';
}
?></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="20"><img src="images/urs6.gif" width="247" height="20" alt="" /></td>
                </tr>
              </table>
            </div>
          </div>
        </div><div class="featurebox">
          <div class="tlb">
            <table width="247" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="44" background="images/urs4.gif"><table width="238" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="45" height="20"><div align="right"><a onclick="new Effect.toggle('g1','blind', {queue: 'end'}); "><img src="images/down.gif"> </a></div></td>
                    <td width="193" valign="top"><table width="86" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="22" height="19">&nbsp;</td>
                        <td width="64"><span class="style14">Sponsori</span></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table>
          </div>
          <div id="g1">
            <div class="tog">
              <table width="247" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="51" background="images/urs5.gif"><table width="240" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="20"><img src="images/urs6.gif" width="247" height="20" alt="" /></td>
                </tr>
              </table>
            </div>
          </div>
        </div></td>
		
        <td width="455" valign="top"><table width="454" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="21" background="images/urs7.gif">&nbsp;</td>
          </tr>
          <tr>
            <td background="images/urs8.gif"><table width="453" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="10">&nbsp;</td>
                <td width="443"><span class="style4">
                  <? if(!isset($_GET['drac'])){
				  include("modes/news.php");}
				  elseif(isset($_GET['drac'])){
				  modules();}?>
                </span>
				<h1></h1>
                  <table width="87" height="17" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <t                      </b></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="images/urs9.gif" width="454" height="19" alt=""></td>
          </tr>
        </table></td>
        <td width="256" valign="top" background="images/back_left.gif"><div class="featurebox">
          <div class="tlb"><table width="256" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/urs10.gif" height="88" valign="top"><table width="169" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="137" height="56">&nbsp;</td>
        <td width="32">&nbsp;</td>
      </tr>
      <tr>
        <td height="26">&nbsp;</td>
        <td><a onclick="new Effect.toggle('s9','blind', {queue: 'end'}); "><img src="images/down.gif"> </a></td>
      </tr>
    </table></td>
  </tr>
</table></div>
          <div id="s9">
            <div class="tog">
<table width="256" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="201" background="images/urs11.gif"><table width="159" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td width="129"><img src="reclama.png" width="127"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/urs12.gif" width="256" height="19" alt="" /></td>
  </tr>
</table>
</div>
</div>
</div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="19"><table width="964" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="6" bgcolor="#5dd000"></td>
        <td width="958"><img src="images/urs13.gif" width="958" height="30" alt=""></td>
      </tr>
    </table></td>
  </tr>
</table>
<center></center>
</body>
</html>
Mersi celui care rezolva.
RoyalServer
User avatar
IsTI37
Fost administrator
Fost administrator
Posts: 10987
Joined: 10 Apr 2007, 15:02
Detinator Steam: Da
Reputatie: Fost administrator
Fost SysAdmin
Fost Fondator GTA5 (CVL)
Location: Cluj-Napoca
Has thanked: 28 times
Been thanked: 776 times

04 Feb 2010, 16:37

Nu se poate rezolva nimic dintr-o singura pagina.
E un script php, ori dai totul de la A-Z ori il rezolvi singur.

Are include-uri...
In plus are legatura si cu o baza de date.
User avatar
paprikka.
Membru, skill 0
Membru, skill 0
Posts: 56
Joined: 29 Dec 2009, 22:13
Detinator Steam: Nu
Reputatie: ban 3 luni
(Ban scos de 1 mai!)
(Ban scos de 1 mai!)

04 Feb 2010, 22:06

Am tot ma, dar am sters reclamele google si s-a deformat pagina, aia zic eu, salveaza-l .html si ai sa vezi ce zic. Aia vreau, in rest am totul.
User avatar
paprikka.
Membru, skill 0
Membru, skill 0
Posts: 56
Joined: 29 Dec 2009, 22:13
Detinator Steam: Nu
Reputatie: ban 3 luni
(Ban scos de 1 mai!)
(Ban scos de 1 mai!)

05 Feb 2010, 22:53

uppp :">
Post Reply

Return to “Discutii generale”

  • Information