Jump to content

Synitex

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Synitex's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey. I need an Upload/Download script that has directories and user system Similar to http://www.torrentspy.com/ If anyone knows of a script (Not a CMS) I would be most thankful. The site isnt for Torrents or Warez so you wouldnt be helping to launch a warez website. Infact its for http://www.psdoutlet.com/ I aim to create a huge PSD File share website. Jobs are infact available: PHP/HTML/CSS Coders Graphic Designers Forum Moderators Website Management You will be paid with a VIP Reseller account (You will have a VIP account and be able to sell VIP Accounts for £5.00 a month, all the money goes to you) Also, if you make the PHP Code, you will also be paid with a VIP Reseller Account ------------                                                                                                            ------------ If anyone can help I will be most thankful. Contact me : tom@synitex.com MSN: tom@synitex.com Thanks in advanced, Tom
  2. Yeah i got access to PHPMyAdmin
  3. Actually, the script was sent to me, so i have no idea what the tables are.. the tables i have found that need creating so far are images and users thats the names of the tables..
  4. Ahh Im kinda retarded at this lol.. Could you do it for me?  im still learning PHP :(
  5. Okay.. done what you said.. i now get this www.prodreaming.co.uk/prom/gallery.php I dont know what to do. Help please.
  6. Hey, im writing a gallery/comments etc script, and i keep getting this error : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 33 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 41 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 49 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 57 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 65 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/prodream/public_html/prom/gallery.php on line 73 Heres the code: [code]<?php session_start(); $conn = mysql_connect("localhost","####","####"); $db = mysql_select_db("####"); ?> <html> <head> <title>Habbo Alterations - Habbo's No.1 Gallery.</title> <STYLE TYPE="text/css"> A:link {text-decoration:none; color:#334016;} A:visited {text-decoration:none; color:#334016;} A:hover {text-decoration:none; color:#A3B975;} </style> </head> <body bgcolor=#A3B975> <table cellspacing=0 cellpadding=0 align=center width=100%> <tr><td><?php include("nav.php"); ?></TD></tr> </table> <font color=3D4E17 face=verdana size=1> <?php if(!isset($page)){ $page = 1; } $maxresults = 36; $rowresults = 6; $from = (($page * $maxresults) - $maxresults); $sql = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); print("<br><table cellpadding=1 bgcolor=819556 style='border-width: 1px; border-style: ridge; border-color: #3D4E17' width=100% align=center>"); print("<tr>"); print("<td colspan=5><center><font color=3D4E17 face=verdana size=1><strong>Click on an image to comment on it.</TD></TR><TR>"); while($rows=mysql_fetch_array($sql)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows[image]></a><br><strong>$rows[name]</strong><br><u><a href=viewpic.php?id=$rows[id]>$rows[title]</A></u><br>$rows[comment]</TD>"); } print("</tr>"); print("<tr>"); $from = $from + 5; $sql2 = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); while($rows2=mysql_fetch_array($sql2)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows2[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows2[image]></a><br><strong>$rows2[name]</strong><br><u><a href=viewpic.php?id=$rows2[id]>$rows2[title]</a></u><br>$rows2[comment]</TD>"); } print("</tr>"); print("<tr>"); $from = $from +5; $sql3 = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); while($rows3=mysql_fetch_array($sql3)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows3[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows3[image]></a><br><strong>$rows3[name]</strong><br><u><a href=viewpic.php?id=$rows3[id]>$rows3[title]</a></u><br>$rows3[comment]</TD>"); } print("</tr>"); print("<tr>"); $from = $from + 5; $sql4 = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); while($rows4=mysql_fetch_array($sql4)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows4[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows4[image]></A><br><strong>$rows4[name]</strong><br><u><a href=viewpic.php?id=$rows4[id]>$rows4[title]</a></u><br>$rows4[comment]</TD>"); } print("</tr>"); print("<tr>"); $from = $from + 5; $sql2 = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); while($rows2=mysql_fetch_array($sql2)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows2[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows2[image]></a><br><strong>$rows2[name]</strong><br><u><a href=viewpic.php?id=$rows2[id]>$rows2[title]</a></u><br>$rows2[comment]</TD>"); } print("</tr>"); print("<tr>"); $from = $from + 5; $sql2 = MYSQL_QUERY("SELECT id, image, comment, title, name FROM images WHERE active='1' ORDER BY date DESC LIMIT $from, $rowresults"); while($rows2=mysql_fetch_array($sql2)){ print("<TD width=20% align=center><center><font color=3D4E17 face=verdana size=1><a href=viewpic.php?id=$rows2[id]><img border=0width='100' height='100'  src=gallerythumbs/$rows2[image]></a><br><strong>$rows2[name]</strong><br><u><a href=viewpic.php?id=$rows2[id]>$rows2[title]</a></u><br>$rows2[comment]</TD>"); } print("</tr>"); print("<TR><TD colspan=5 align=center><font color=3D4E17 face=verdana size=1><strong>Select a page<BR>"); $total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM images WHERE active='1'"),0); $total_pages = ceil($total_results / $maxresults); if($page > 1){     $prev = ($page - 1);     print("<a href=\"".$_SERVER['PHP_SELF']."?page=$prev\"><< Previous</a>&nbsp;"); } for($i = 1; $i <= $total_pages; $i++){     if(($page) == $i){         echo "$i&nbsp;";         } else {             print("<a href=\"".$_SERVER['PHP_SELF']."?page=$i\">$i</a>&nbsp;");     } } // Build Next Link if($page < $total_pages){     $next = ($page + 1);     print("<a href=\"".$_SERVER['PHP_SELF']."?page=$next\">Next >></a>"); } print("</TD></TR>"); ?> </table> </body> </html>  [/code] Can someone help me? Thanks!
×
×
  • 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.