Tunyukuk
New member
- Katılım
- 9 May 2007
- Mesajlar
- 17,591
- Reaction score
- 0
- Puanları
- 0
Çok güzel bir uygulama.Zaten limitleri zorluyorduk artık upload sitelerinde
Elinize sağlık
Elinize sağlık
<?php
session_start();
include("db-info.php");
$link = mysql_connect($server, $user, $pass);
if(!mysql_select_db($database)) die(mysql_error());
include("session.inc.php");
include("loadsettings.inc.php");
?>
<html>
<head>
<meta name="description" content="<? echo $description; ?>" />
<meta name="keywords" content="<? echo $keywords; ?>" />
<title><? echo ImagesvirtuaL; ?> - Free Images Hosting & Share</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script language="JavaScript">
var x = 1;
function addMore() {
x = x + 1;
if (x > 49)
alert("Sorry ! You cannot upload more than 49 images at a time.");
else
document.getElementById("upload" + x).style.display = "block";
}
</script>
<style type="text/css">
body {
background-color: #FFFFFF;
}
.style4 {
font-size: 16px;
color: #000000;
}
.style10 {
font-size: 18px;
font-style: italic;
color: #000000;
}
.style11 {font-size: 16px; color: #000000; font-style: italic; }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body link=#336699 vlink=#336699 alink=#336699>
<?php include("header.php"); ?>
<center>
<div class="content-container">
<form method=\"GET\" action='images.php'>
<table width=100% bgcolor='#edf7fd' style=\"BORDER: #b1ddf6 2px solid;\">
<tr height=40>
</tr>
</table>
</form>
<div style="display: none" id="loading" align=center>
<img src='images/loading.gif' border=0><br><br>
</div>
<div class="content-box">
<table>
<tr bgcolor="#CCCCCC">
<td width=350 valign=top bordercolor="#CCCCFF" bgcolor="#CCCCFF">
<p class="style4"> </p>
</td>
<!-- ############################################################################################ -->
<td width="586" bordercolor="#CCCCFF" bgcolor="#CCCCFF">
<div class="left">
<h1 class="style10">Upload Image</h1>
<form method="POST" action="process.php" enctype="multipart/form-data" name="myForm">
<table style="border-collapse: collapse" width=460>
<tr>
<td width="452">
<table width="454" height="77" id="upload1">
<tr>
<td width="38"><LABEL id="title">Image:</LABEL></td> <td width="350"> <input type="file" name="image1" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags1" size=40 maxlength="200"></td>
</tr>
</table>
<table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload2">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image2" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags2" size=40 maxlength="200"></td>
</tr>
</table>
<table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload3">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image3" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags3" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload4">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image4" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags4" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload5">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image5" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags5" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload6">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image6" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags6" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload7">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image7" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags7" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload8">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image8" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags8" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload9">
<tr>
<td><LABEL id="title">Image:</LABEL></td> <td><input type="file" name="image9" size=40></td>
</tr>
<tr>
<td><LABEL id="title">Tags:</LABEL></td> <td><input type="text" name="tags9" size=40 maxlength="200"></td>
</tr>
</table> <table style="BORDER: #999 1px dotted; MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px; display: none" id="upload10">
<tr>
<!-- ############################################################################################ -->
<?php
//****************************************************************
if ($session == true)
{
echo "<br><table> <tr height=30><td><h2>Options: </h2></td></tr>";
$result_set = mysql_query("SELECT id, name FROM `galleries` WHERE userid = '$userid'");
$number = mysql_num_rows($result_set);
if ($number)
{
echo "<tr><td>
<input type='radio' name='opt' value='gallery'>
<font size=2>add to gallery:</font></td>";
echo "<td><select name='galleryid'>";
while ($row = mysql_fetch_array($result_set))
echo "<option value={$row['id']}>{$row['name']}</option>";
echo "</select></td></tr>";
}
echo "<tr><td><input type='radio' name='opt' value='single' CHECKED> <font size=2> single image </font></td>
<td> <font size=2>(keep private <input type='checkbox' name='private' value='ON'>)</font></td></tr>";
echo "</table>";
}
//*****************************************************************
?>
<table><tr>
<td width="360">
<br>
<a href="#" onClick="addMore()">Upload More</a> </td></tr>
<tr><td>
<LABEL id="text">Separate tags by commas. (,) </LABEL>
</td></tr>
<tr><td>
</td></tr>
<tr><td>
<br><a href=#><img src="http://www.hackhell.com/images/upload.png" border=0
onclick="myForm.submit(); getElementById('loading').style.display='block';"></a>
</td></tr>
</table></td>
</tr>
</table>
</form>
<!-- </div> --> </td>
</tr></table>
</div>
<br>
<h2 class="style11">Random Images:</h2>
<? include("random.inc.php"); ?>
<div class="about">
<div align="center"><? echo ImagesvirtuaL; ?>™
<p> Your images on <a href="http://www.myspaces.com">MySpace®</a>, <a href="http://www.ebay.com">eBay®</a>,<a href="http://www.hackhell.com"> Orkut Scrapbooks</a>, <a href="www.hackhell.com">blogs</a>, and <a href="http://www.hackhell.com">message boards</a>. </p>
<p> <a href="http://www.hackhell.com">HackHeLL </a><br>
<br>
<br>
</p>
</div>
</div>
<?php include("footer.php"); ?>
</div>
</center>
</body>
</html>
burdaki üyeliklerimiz orda geçerli değilmi