-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtop10.php
More file actions
executable file
·76 lines (68 loc) · 3.17 KB
/
top10.php
File metadata and controls
executable file
·76 lines (68 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?include "connect.php";?><!DOCTYPE html>
<html lang="en">
<head>
<?include "signup_header.php"?>
<div class="container">
<div class="content">
<div class="row" style="margin-left: 0px;";>
<div class="span16">
<div class="row " style="margin-left: -10px; margin-bottom: 0px">
<div class="span2" style="margin-bottom: 5px">
<h4 class="glow" style="margin-top:5px;font-family: 'Trebuchet MS', sans-serif; font-size: 30px; font-weight: lighter; color:#444444; "> Step 4:</h4>
</div>
<div class="span5" style="margin-bottom: 7px; width:350px;">
<h2 style="margin-top:7px;font-family: 'Trebuchet MS', sans-serif; font-weight: lighter; color:#444444; font-size: 25px; "> List your "Top 10"</h2>
</div>
<div class="span15" style="margin-bottom: 7px;">
<h2 style="font-family: 'Trebuchet MS', sans-serif; font-weight: medium; color:#444444; font-size: 15px; line-height: 20px;">
Who do you ask for help when you need a job or when you want to hire? <br> You might consider listing close friends and family or your best employees. </br>
</h2>
</div>
</div>
</div>
</div>
<form action="process_top10.php" method="POST">
<div class="row" style="margin-left: 0px";>
<div class="span16">
<div class="row" style="margin-left: 0px";>
<table width="200px" style="margin-bottom: 5px; width: 150px;">
<tbody>
<div class="img"> <img src="images/socialweb.png" alt="social web" height="375px"align="right"valign="top" style="margin-top:-60px"/></img>
<?$index = 1;
$con_data = mysql_query ("SELECT * FROM `user_connections` WHERE `user_id` = $userid LIMIT 0 , 30 ");
while ($index <= 10) {
$con_array = mysql_fetch_array($con_data);
$cnm = null;
$cnp = null;
if ($con_array != null) {
$cnm = $con_array["connection_name"];
$cnp = $con_array["connection_phone"];
}
?>
<tr>
<td width="10%"align="right" valign="middle" height="100%" style="vertical-align:middle;" > <?echo "$index";?> </td>
<td width="40%"> <input class="input-medium" style="height: 15px;"type="text" name = "full_name<?echo ($index);?>"
placeholder="Full Name " <?if ($cnm != null) {echo "value=\"$cnm\"";}?> > </input></td>
<td width="40%"> <input class="input-medium" style="height: 15px;"type="text" name = "phone_number<?echo ($index);?>"
placeholder="Phone Number" <?if ($cnp != null) {echo "value=\"$cnp\"";}?>> </input></td>
</tr>
<? $index++; } ?>
</tbody>
</table>
</div>
</div>
</div>
<div class="row" style="margin-left: 0px";>
<div class="span3" style="margin-top: -38px;margin-bottom:-10px;">
<input class="btn small orange" type="submit" style="margin-left: 375px; height:30px;font-size:15px;width:150px;" name="submit" value="Submit!"> </input>
</div>
</div>
</form>
</div>
<?include "bottom_pane.php"?>
<footer>
<p>© Duma 2011</p>
</footer>
</div>
</body>
</html>