forked from bastosmichael/biverr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
right.php
156 lines (134 loc) · 4.11 KB
/
right.php
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
include_once('db_config/db_catagory.php');
$catagory=new catagory();
$rs=$catagory->catagory_list();
$i=0;
?><?php
include_once('db_config/db_recommend.php');
$recommend =new recommend();
$rs_recommend=$recommend->recommend_list();
?>
<div class="right_cont">
<div class="social_bk" style="border-bottom:0px;height:35px;">
<!-- AddToAny BEGIN -->
<a class="a2a_dd" href="http://www.addtoany.com/share_save?linkurl=http://<?php echo $_SERVER['HTTP_HOST']?>&linkname="><img src="http://static.addtoany.com/buttons/share_save_256_24.png" width="256" height="24" border="0" alt="Share/Bookmark"/></a>
<script type="text/javascript">
var a2a_config = a2a_config || {};
a2a_config.linkurl = "http://<?php echo $_SERVER['HTTP_HOST']?>";
</script>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
<script type="text/javascript">
function popup(){
window.open('tell_a_friend.php', 'tellafriend_script',
'scrollbars=1,statusbar=1,resizable=1,width=400,height=510');
}
</script>
</div>
<p>
<!-- <img align="middle" src="images/img.jpg" />
<a href="#"> <img src="images/invite.jpg" /></a> -->
<a href="http://www.twitter.com/<?php echo SITE_NAME; ?>" target="_blank"><img src="images/twit.png" /></a><br/>
<a href="http://www.facebook.com" target="_blank"><img src="images/facebookish.png" /></a>
</p>
<div class="right_box">
<div class="right_box_top">
</div>
<div class="right_box_center">
<p><table width="200" align="center" bgcolor="#FFFFFF" style="border:1px solid #5499de;" border="0" cellspacing="0" cellpadding="0">
<form method="get" id="" enctype="multipart/form-data" action="search.php">
<tr>
<td width="3%"></td>
<td width="77%"><input type="text" style="width:152px; border:1px solid #ffffff; height:30px;" name="query" value="<?php if($query) echo $query; else echo 'Search'; ?>" onFocus="if(this.value=='Search') this.value=''" onBlur="if(this.value=='') this.value='Search'" /></td>
<td width="18%"><input type="image" src="images/ic24.jpg" /></td>
<td width="2%"> </td>
</tr>
</form>
</table>
</p>
<ul>
<?php
while($data=mysql_fetch_array($rs))
{
?>
<li><a href="catagory.php?id=<?php echo $data['catagory_id'];?>"><?php echo $data['catagory_name'];?></a> </li>
<?php
}
?>
</ul>
</div>
<div class="right_box_bottom">
</div>
</div>
<div class="right_box">
<img align="middle" src="images/img.jpg" />
<a href="javascript:popup()"> <img align="middle" src="images/invite.jpg" style="padding-left:32px;" /></a>
</div>
<div class="right_box">
<div class="right_box_top_a">
</div>
<div class="right_box_center_a">
<table width="90%" align="center" border="0" cellspacing="0" cellpadding="0">
<form action="add_recommend.php" method="get">
<tr>
<td style="font-family:Arial, Helvetica, sans-serif; font-size:19px; border-bottom:1px dashed #cdcccb; "><em>Recommended ! </em></td>
</tr>
<tr>
<td>.</td>
</tr>
<tr>
<td style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#295d40; font-weight:bold;">I want someone<br />
to do....</td>
</tr>
<tr>
<td height="11"></td>
</tr>
<tr>
<td><textarea name="textarea" style="width:190px; height:84px; border:1px solid #c17b21;"> </textarea> </td>
</tr>
<tr>
<td>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%"> </td>
<td width="35%"><strong>for <?php echo SITE_AMMOUNT;?></strong></td>
<td width="43%">
<?php
if($_SESSION['username_email']!='')
{
?>
<input type="image" src="images/bt7.jpg" />
<?php
}
else
{
?>
<img src="images/bt7.jpg" onclick="javascript:alert('Please Login First');" style="cursor:pointer;"/>
<?php
}
?>
</td>
</tr>
</table>
</td>
</tr>
</form>
<?php
$i=0;
while($data_recommend=mysql_fetch_array($rs_recommend))
{
?>
<tr>
<td><strong><?php echo ucfirst($data_recommend['recommend_by'])." "; ?></strong><strong> wants:</strong><br />
<?php echo $data_recommend['recommend_value']; ?></td>
</tr>
<?php
$i++;
}
?>
</table>
</div>
<div class="right_box_bottom_a">
</div>
</div>
</div>