|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
http://vshare.za.net/sig/
<?
include('include/config.php');
include('include/class_sql.php');
$data =new class_sql();
$data ->config();
$data ->connected();
?>
<html>
<head>
<META NAME="description" content="Welcome to Iweb.net.ru. You can create online signature. All free.">
<META NAME="keywords" content="bar signature, online signature,create signature, signature creater, signature generator,sigsmaker, sign generator, online bar signature">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Welcome To iweb.net.ru</title>
<script src="/thongke/?js" type="text/javascript"></script>
<style type="text/css">
<!--
img {
border: none;
}
td {
font-family:Tahoma;
color: 4484EF;
font-weight: bold;
font-size: 12px;}
a {
font-family:Tahoma;
color:4484EF;
font-weight: bold;
font-size: 12px;}
a:hover{
font-family:Tahoma;
color: 0F7C9D;
font-weight: bold;
font-size: 12px;}
table .maintable,
tr .maintable,
td .maintable
{
background: transparent;
color: #222;
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
td .maintable
{
padding: 4px 0 4px 6px;
}
form
{
display: inline;
margin: 0px;
padding: 0px;
}
.textinput
{
background-color: #FFFFFF;
background-image: url(images/shadow.png);
background-repeat: no-repeat;
border: 1px dashed #2C2C2A;
color: #222222;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
margin: 5px;
padding: 2px;
vertical-align: middle;
}
.button
{
background-color: #FFFFFF;
color: #2C2C2A;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
border: 1px solid #2C2C2A;
vertical-align: middle;
margin-bottom: 3px;
_margin-bottom: 4px;
margin-top: 4px;
margin-left: 4px;
_width: 160px;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#EFEFEF">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table3">
<tr>
<td>
<p align="center"><font size="5">Signature Generator<br>
;</font></td>
</tr>
</table>
<?include('./header.php'); ?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table2">
<tr>
<td>
<div align="center">
<table border="0" width="70%" id="table4" cellpadding="0" cellspacing="0">
<form method="POST" id="signature">
<tr>
<td width="19%"> ;</td>
<td colspan="2"> ;</td>
</tr>
<tr>
<td width="19%" align="right">Enter TEXT: </td>
<td width="81%" colspan="2">
<input type="text" name="text" size="35" class="textinput"value ="<?=$_POST['text']?>"><font color="#FF0000">ex
: info@8892.net.ru</font></td>
</tr>
<tr>
<td width="84%" align="right" valign="top" colspan="3">
<p align="left">Choose Picture:</td>
</tr>
<tr>
<td width="84%" align="right" valign="top" colspan="3">
<table border="0" width="100%" id="table6" cellpadding="2">
<?
//select picture current
if (count($_POST['picture_id']) >0){
$pic = $_POST['picture_id'];
for ($i=0;$i<count($_POST['picture_id']);$i++){
if ($pic[$i] != 0){
$query ="SELECT * FROM images WHERE id=".$pic[$i];
$current_pic = $data->one_rows($query);
?>
<tr>
<td width="22%" align="right">
Picture <?=$current_pic['id']?></td>
<td width="71%">
<img border="0" src="<?=$current_pic['images_url']?>" width="350" height="19"></td>
<td width="5%">
<input type="checkbox" name="picture_id[]" value="<?=$current_pic['id']?>" checked></td>
</tr>
<?}}
}
?>
<?
$query ="SELECT * FROM images";
$total = $data->num_rows($query);
for ($i=count($pic);$i<10;$i++){
$ran = rand(0,$total);
$query ="SELECT * FROM images WHERE id =".$ran;
$sign = $data->one_rows($query);
?>
<tr>
<td width="22%" align="right">
Picture <?=$sign['id']?></td>
<td width="71%">
<img border="0" src="<?=$sign['images_url']?>" width="350" height="19"></td>
<td width="5%">
<input type="checkbox" name="picture_id[]" value="<?=$sign['id']?>"></td>
</tr>
<?}?>
<tr>
<td align="right" colspan="2"></td>
<td width="5%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="19%" align="right">Another Picture: </td>
<td width="78%" colspan="2">
;<select size="1" name="picture_id[]">
<option value="0">Not Select </option>
<? $query ="SELECT * FROM images";
echo $query;
$query = $data->query($query);
while ($pic = $data->fetch_array($query)){
?>
<option value="<?=$pic['id']?>"><?=$pic['id']?> </option>
<?}?>
</select> ; ;
<a href="viewbar.php" target="_blank">
<img border="0" src="./images/all.jpg" width="20" height="20">
View Demo All Pic</a></td>
</tr>
<tr>
<td width="19%" align="right">Choose Font: </td>
<td width="63%">
;<select size="1" name="font_id">
<? $query ="SELECT * FROM font ORDER BY view DESC";
echo $query;
$query = $data->query($query);
while ($font = $data->fetch_array($query)){
if ($font['id'] == $_POST['font_id']){
?>
<option value="<?=$font['id']?>" selected><?=$font['name']?></option>
<?}else{?>
<option value="<?=$font['id']?>"><?=$font['name']?></option>
<?}}?>
</select></td>
<td width="15%"> ;</td>
</tr>
<tr>
<td width="19%" align="right">Choose Color: </td>
<td width="81%" colspan="2">
;<select size="1" name="zcolor" onchange='set_color(this.value)'>
<option value="000000">Black</option>
<option value="FFFFFF">While</option>
<option value="008000">Green</option>
<option value="800000">Maroon</option>
<option value="808000">Olive</option>
<option value="000080">Navy</option>
<option value="800080">Purple</option>
<option value="808080">Gray</option>
<option value="FFFF00">Yellow</option>
<option value="00FF00">Lime</option>
<option value="00FFFF">Aqua</option>
<option value="FF00FF">Fuchsia</option>
<option value="C0C0C0">Slive</option>
<option value="FF0000">Red</option>
<option value="0000FF">Blue</option>
<option value="008080">Teal</option>
</select> OR Custom
<script>
function set_color(value){
document.all.color1.value=value
}
</script>
<input type="text" name="color" size="10" id="color1" value ="<?=$_POST['color']?>"></td>
</tr>
<tr>
<td width="19%" align="right">X Position: </td>
<td width="81%" colspan="2">
<input type="text" name="x" size="20" class="textinput" value ="<?=$_POST['x']?>"><font color="#FF0000"> ;ex
: 100 </font></td>
</tr>
<tr>
<td width="19%" align="right">Y Position: </td>
<td width="81%" colspan="2">
<input type="text" name="y" size="20" class="textinput" value ="<?=$_POST['y']?>"><font color="#FF0000"> ;ex
: 20</font></td>
</tr>
<tr>
<td width="19%" align="right">Angle: </td>
<td width="81%" colspan="2">
<input type="text" name="angle" size="20" class="textinput" value ="<?=$_POST['angle']?>"><font color="#FF0000"> ;ex
: 0</font></td>
</tr>
<tr>
<td width="19%" align="right">Height: </td>
<td width="81%" colspan="2">
<input type="text" name="height" size="20" class="textinput" value ="<?=$_POST['height']?>"><font color="#FF0000"> ;ex
: 15</font></td>
</tr>
<tr>
<td width="19%" align="right"></td>
<td width="81%" colspan="2">
<font color="red"> Thanks for your visiting
</font></td>
</tr>
<? if (!empty($_POST['picture_id'])) {
$picture = $_POST['picture_id'];
for ($i=0;$i<count($picture);$i++){
if ($picture[$i] != 0){
?>
<tr>
<td width="19%" align="right">Result: </td>
<td width="81%" colspan="2">
<table border="0" width="100%" id="table7" cellpadding="2">
<tr>
<td>
<input type="image" border="0" src="sigsmaker.php?text=<?=$_POST['text']?>&picture_id=<?=$picture[$i]?>&font_id=<?=$_POST['font_id']?>&x=<?=$_POST['x']?>&y=<?=$_POST['y']?>&height=<?=$_POST['height']?>&angle=<?=$_POST['angle']?>&color=<?=$_POST['color']?>"></td>
</tr>
</table>
</td>
</tr>
<?}}}?>
<tr>
<td width="84%" align="right" colspan="3">
<table border="0" width="100%" id="table5">
<tr>
<td width="193"> ;</td>
<td> ;</td>
<td width="238">
<input type="submit" value="Create Now" name="B1" class="button"></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</div>
</td>
</tr>
</table>
<?include('./footer.php');?>
</body>
</html>
</html>
</html> |
|