Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.5.0
  8. * @ Author : DeZender
  9. * @ Release on : 09.06.2012
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function main() {
  15. include( '../language.php' );
  16. $memid = $_SESSION['memid'];
  17. $query = mysql_query( '' . 'select * from job_seeker where id=\'' . $memid . '\'' );
  18. $queryselect_fetch = mysql_fetch_array( $query );
  19. $send = mysql_real_escape_string( $_REQUEST['send'] );
  20. $cname1 = $queryselect_fetch['country'];
  21. $cname1 = $queryselect_fetch['country'];
  22. $query = mysql_query( 'select * from country order by con_name asc' );
  23. $country = $_SESSION['country'];
  24. echo '<s';
  25. echo 'cript src="selectstate.js"></script>
  26. ';
  27. echo '<s';
  28. echo 'cript src="selectcity.js"></script>
  29. <!--';
  30. echo '<s';
  31. echo 'cript src="../js/jseditprofile.js"></script> -->
  32. ';
  33. echo '<s';
  34. echo 'cript src="checkuser_userbox.js"></script>
  35.  
  36. <div class="mainheading">';
  37. echo $label['m_p_infor'];
  38. echo '</div>
  39. <div>
  40. ';
  41.  
  42. if ($send == 'fill') {
  43. echo '<div style=\'color:#FF0000; margin-left:50px;\'><b>Please Update Atleast Country, State, City and Mobile no. in order to proceed</b></div>';
  44. }
  45.  
  46. echo '</div>
  47. <div class="clr"></div>
  48.  
  49. ';
  50. echo '<s';
  51. echo 'pan class="messagesred">
  52. ';
  53.  
  54. if ($_REQUEST['send'] == 'verification') {
  55. echo '' . $label['i_v_c'];
  56. }
  57.  
  58.  
  59. if ($_REQUEST['send'] == 'unamesame') {
  60. echo '' . $label['u_a_e'];
  61. }
  62.  
  63.  
  64. if ($_REQUEST['send'] == 'emailsame') {
  65. echo '' . $label['e_a_e'];
  66. }
  67.  
  68.  
  69. if ($_REQUEST['send'] == 'profedit') {
  70. echo '' . $label['y_p_s_e'];
  71. }
  72.  
  73. echo '</span>
  74. <form name="form1" id="form1" method="post" action="editprofile2.php" onsubmit=" return validates(this);">
  75. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="tblBorder" style="margin-left:5px;">
  76. <tr>
  77. <td colspan="5" align="left" valign="middle" class="bluebg"><div class="sde_mnu_img"></div>';
  78. echo $label['e_infor'];
  79. echo '</td>
  80. </tr>
  81. <tr>
  82. <td width="5%" align="center" class="messagesred">*</td>
  83. <td width="23%" align="left" valign="middle" class="mediumtxt">';
  84. echo $label['name'];
  85. echo '</td>
  86. <td width="6%" align="center" class="mediumtxt">:</td>
  87. <td colspan="2" align="left" valign="middle" class="mediumtxt">
  88. <input name="name" class="textbox" id="name" value="';
  89. echo $queryselect_fetch['fname'];
  90. echo '" size="29"/> </td>
  91. </tr>
  92. <tr>
  93. <td align="center" class="messagesred">*</td>
  94. <td align="left" valign="middle" class="mediumtxt">';
  95. echo $label['gen'];
  96. echo '</td>
  97. <td align="center" class="mediumtxt">:</td>
  98. <td colspan="2" align="left" valign="middle" class="mediumtxt">
  99. ';
  100. echo '<s';
  101. echo 'elect name="gender" id="gender" class="listmenu">
  102. <option value="Male" ';
  103.  
  104. if ($queryselect_fetch['gender'] == 'Male') {
  105. echo ' selected=\'selected\'';
  106. }
  107.  
  108. echo '>';
  109. echo $label['male'];
  110. echo '</option>
  111. <option value="Female" ';
  112.  
  113. if ($queryselect_fetch['gender'] == 'Female') {
  114. echo ' selected=\'selected\'';
  115. }
  116.  
  117. echo '>';
  118. echo $label['female'];
  119. echo '</option>
  120. </select></td>
  121. </tr>
  122. <tr>
  123. <td align="center" class="messagesred">*</td>
  124. <td align="left" valign="middle" class="mediumtxt">';
  125. echo $label['d_o_b'];
  126. echo ' </td>
  127. <td align="center" class="mediumtxt">:</td>
  128. <td colspan="2" align="left" valign="middle" class="mediumtxt">
  129. ';
  130. echo '<s';
  131. echo 'elect name="bmonth" class="listmenu" id="bmonth" style="width:70px;">
  132. <option value="" ';
  133.  
  134. if ($queryselect_fetch['bmonth'] == '') {
  135. echo ' selected=\'selected\'';
  136. }
  137.  
  138. echo '>month</option>
  139. <option value="1" ';
  140.  
  141. if ($queryselect_fetch['bmonth'] == '1') {
  142. echo ' selected=\'selected\'';
  143. }
  144.  
  145. echo '>Jan</option>
  146. <option value="2" ';
  147.  
  148. if ($queryselect_fetch['bmonth'] == '2') {
  149. echo ' selected=\'selected\'';
  150. }
  151.  
  152. echo '>Feb</option>
  153. <option value="3" ';
  154.  
  155. if ($queryselect_fetch['bmonth'] == '3') {
  156. echo ' selected=\'selected\'';
  157. }
  158.  
  159. echo '>Mar</option>
  160. <option value="4" ';
  161.  
  162. if ($queryselect_fetch['bmonth'] == '4') {
  163. echo ' selected=\'selected\'';
  164. }
  165.  
  166. echo '>Apr</option>
  167. <option value="5" ';
  168.  
  169. if ($queryselect_fetch['bmonth'] == 5) {
  170. echo ' selected=\'selected\'';
  171. }
  172.  
  173. echo '>May</option>
  174. <option value="6" ';
  175.  
  176. if ($queryselect_fetch['bmonth'] == '6') {
  177. echo ' selected=\'selected\'';
  178. }
  179.  
  180. echo '>Jun</option>
  181. <option value="7" ';
  182.  
  183. if ($queryselect_fetch['bmonth'] == '7') {
  184. echo ' selected=\'selected\'';
  185. }
  186.  
  187. echo '>Jul</option>
  188. <option value="8" ';
  189.  
  190. if ($queryselect_fetch['bmonth'] == '8') {
  191. echo ' selected=\'selected\'';
  192. }
  193.  
  194. echo '>Aug</option>
  195. <option value="9" ';
  196.  
  197. if ($queryselect_fetch['bmonth'] == '9') {
  198. echo ' selected=\'selected\'';
  199. }
  200.  
  201. echo '>Sep</option>
  202. <option value="10" ';
  203.  
  204. if ($queryselect_fetch['bmonth'] == '10') {
  205. echo ' selected=\'selected\'';
  206. }
  207.  
  208. echo '>Oct</option>
  209. <option value="11" ';
  210.  
  211. if ($queryselect_fetch['bmonth'] == '11') {
  212. echo ' selected=\'selected\'';
  213. }
  214.  
  215. echo '>Nov</option>
  216. <option value="12" ';
  217.  
  218. if ($queryselect_fetch['bmonth'] == '12') {
  219. echo ' selected=\'selected\'';
  220. }
  221.  
  222. echo '>Dec</option>
  223. </select>
  224. ';
  225. echo '<s';
  226. echo 'elect name="bday" class="listmenu" style="width:70px;">
  227. <option value="" ';
  228.  
  229. if ($queryselect_fetch['bday'] == '') {
  230. echo ' selected=\'selected\'';
  231. }
  232.  
  233. echo '>Day</option>
  234. ';
  235. $i = 1;
  236.  
  237. while ($i <= 31) {
  238. echo ' <option value = "';
  239. echo $i;
  240. echo '" ';
  241.  
  242. if ($i == $queryselect_fetch['bday']) {
  243. echo ' selected=\'selected\'';
  244. }
  245.  
  246. echo '> ';
  247. echo $i;
  248. echo ' </option>
  249. ';
  250. ++$i;
  251. }
  252.  
  253. echo ' </select>
  254. ';
  255. echo '<s';
  256. echo 'elect name="byear" class="listmenu" style="width:92px;">
  257. <option value="Year" ';
  258.  
  259. if ($queryselect_fetch['byear'] == '') {
  260. echo ' selected=\'selected\'';
  261. }
  262.  
  263. echo '>Year</option>
  264. .........................................................
  265. .............................
  266. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement