Jump to content

error...don't know why


b2k

Recommended Posts

Getting error on line 67... I don't know why

 

<?php include "config.php"; ?>

<title><?php echo $row['header'] ?></title>

<?php 

$fecha = date("d-m-Y");
if ( isset($_GET['id']) && is_numeric($_GET['id']) ) $id = $_GET['id']; 
else $id = false; 

if ( isset($_GET['s']) ) $pagina = mysql_real_escape_string(htmlspecialchars($_GET['s'])); 
else $pagina = false; 

if ( !$id && !$pagina ) echo '


<body dir="ltr" alink="#00ff00" background="dot.gif" bgcolor="#000000" link="#00c000" text="#008000" vlink="#00c000">

<center><table width="668" border="0" cellpadding="3" cellspacing="3" class="main">
  <tr><td><img src="banner.jpg"><br><br>
  
<table width="668" align="center" border="0"><tbody>
<tr class="style13">
<td class="style13">-::jpjp</td>
<td class="style13">-::jpjp</td>
	<td class="style13">-::jpjp</td>
<td class="style13"></td>
<td class="style13"></td>
<td class="style13"></td>
<td class="style13"></td>

<td class="style13">-::jpjp</td>
</tr> </tr></td>   </td>    <br>
    <center> <b>[ <a href="webapp.php" target="_self">webapps</a> ]</b> </center>  '; 


          $result = mysql_query('SELECT `id`, `pagina`, `header`, `fecha`, `contenido`, `contador` FROM `webapp` ORDER BY `id` DESC LIMIT 6'); 

          while ( $row = mysql_fetch_assoc($result) )
	  
	  echo '  <tr class="submit">
<td class="style14" nowrap="nowrap" width="62"> ' . $row['fecha'] . ' </td>
                  <td width="375">
			  
			<a rel="shadowbox" class="option" title="'.$row['header'] . '" href="/webapp/'. $row['id'] . ' " target="_blank">  ' . $row['header'] . '.</a></td>
            <td nowrap="nowrap" width=40 align="left">' . $row['contador'] . '</td>

			<td width="9">R</td>

			<td width="9"></td>
                  
			  <td width="9"><a href="download.php?id='. $row['id'] . ' " target="_blank">D</td>

			<td width="9"></td>
			<td nowrap="nowrap" width=135 align="left">' . $row['pagina'] . '</td>
	  



Sayfa idsi olarak sadece sayi veya rakam girdiginizden emin olun. <br> <a href="index.php">[ Anasayfaya Dön ]</a> - <a href="#">[ Tekrar Dene ]</a></tr></td>
</table></center>
</body></html> 

else { 

    $sql = 'SELECT * FROM `webapp` WHERE '; 
    if ( $id ) $sql .= '`id` = ' . $id; 
    else if ( $pag_ina ) $sql .= '`pagina` = \'' . $pag_ina . '\''; 
    $sql .= ' LIMIT 1;'; 
     
    $result = mysql_query($sql); 
    $row = mysql_fetch_assoc($result); 
    if ( !$row['id'] ) echo '<link type="text/css" rel="stylesheet" href="b0x.css">


<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon"></head>

<body dir="ltr" alink="#00ff00" background="dot.gif" bgcolor="#000000" link="#00c000" text="#008000" vlink="#00c000">
<center><table width="668" border="0" cellpadding="3" cellspacing="3" class="main">
  <tr><td><img src="banner.jpg"><br><br>

Girdiginiz URL deki Sayfa Bulunamadi. <br> <a href="index.php">[ Anasayfaya Dön ]</a> - <a href="#">[ Tekrar Dene ]</a>

</tr></td>
</table></center>
</body></html>'; 
    else { 
       echo '###################################<BR>';
	echo '#'.$row['header'] . '<br>###################################<br><br>' . $row['contenido']; 

        echo '<br><br># H4ck1ng.net [ '. $fecha . ' ]'; 


    } 
        //Sayaç
        $row['contador']++; 
       
        mysql_query('UPDATE `webapp` SET `contador` = ' . $row['contador'] . ' WHERE `id` = ' . $row['id'] . ' LIMIT 1'); 
} 





?> 

Link to comment
https://forums.phpfreaks.com/topic/91626-errordont-know-why/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.