Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

syxzero

Members
  • Joined

  • Last visited

Everything posted by syxzero

  1. On the folder where i upload the pdf, the code to view it is this <a href="<?php echo $dbUserData['UniqueDirectory']."cv.pdf" ;?>" target="_blank" style="background-color:red" >View Doc </a> however i believe the code to view it on the other folder on the serve would be <?php if (file_exists($dbCandidateInfo['UniqueDirectory'].= "../v_registration/user/cv.pdf")) { ?><a href"../v_registration/download.php?i=<?php echo $dbCandidateInfo['C_ID']; ?>" target="_blank"><h4>Download CV</h4></a><?php } ?> but it is not working can someone help please
  2. syxzero posted a topic in Server Side
    how would i go about grabbing video images uploaded to website, like youtube does or facebook, simple and effect way please... does this need to be done at the unset when uploading the video? can what code would be needed also?
  3. i dont understand.. i ready dont have mercy
  4. i dont understand.. i ready dont have mercy
  5. ok where would i apply this and how? <div id="honeypotsome-div"> If you see this, leave this form field blank and invest in CSS support. <input type="text" name="body" value="" /> </div> if(!String.IsNullOrEmpty(Request.Form["body"])) IgnoreComment(); <sbk:HoneypotCaptcha ID="body" ErrorMessage="Doh! You are a bot!" runat="server" /> found from web/so what else will be needed
  6. ok how would i deal with that? spam and if not CAPTCHA then what?
  7. would the code be as follows <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="country_input"><strong>Country</strong>:<?php if ($_GET['attempt'] && !IsCountry($_POST['country_input'])) echo "*"; ?></label> <input style="float:right;" size="20" type="text" name="country_input" value="<?php echo $_POST['country_input']; ?>" /><br class="clear"> </div> <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="city_input"><strong>City</strong>:<?php if ($_GET['attempt'] && !IsCity($_POST['city_input'])) echo "*"; ?></label> <input style="float:right;" size="20" type="text" name="city_input" value="<?php echo $_POST['city_input']; ?>" /><br class="clear"> </div> <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="town_input"><strong>Town</strong>:<?php if ($_GET['attempt'] && !IsTown($_POST['town_input'])) echo "*"; ?></label> <input style="float:right;" size="20" type="text" name="town_input" value="<?php echo $_POST['town_input']; ?>" /><br class="clear"> </div>
  8. This is php <?php include("includes/common.php"); $PageName = "Register"; include("includes/securimage/securimage.php"); $securimage = new Securimage(); /* Get 'p' : * c - candidate register * e - employer register */ $emailpattern = "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$"; if ($_GET['p'] == 'c') { $ES = @vc5_GetEmploymentStatus($MYSQL_DB_NAME_CORE, $MYSQL_DB_LINK); $SAL = @vc5_GetSalaryRanges($MYSQL_DB_NAME_CORE, $MYSQL_DB_LINK); } if ($_GET['attempt']) { $captchaCorrect = $securimage->check($_POST['captcha_input']); if ($_GET['p'] == 'c') { $dbData = mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`Email` = '".@mysql_real_escape_string($_POST['email_input'])."'", $MYSQL_DB_LINK) or die("Page Failed to Load.12"); if (@mysql_num_rows($dbData) < 1) $emailFree = 1; if ($emailFree && eregi($emailpattern, $_POST['email_input']) && $_POST['email_input'] === $_POST['email_confirm_input']) { if ($captchaCorrect && strlen($_POST['password_input']) > 5 && $_POST['password_input'] == $_POST['password_confirm_input'] && strlen($_POST['fullname_input']) > 3 && strlen($_POST['mobileno_input']) == 11 && strlen($_POST['education_input']) > 1 && strlen($_POST['dsalary_input']) > 0 && is_numeric($_POST['dsalary_input']) && strlen($_POST['cv_input']) > 1 && $_POST['terms_input'] && strlen($_POST['postcode_input']) > 5) { $uniquedir = "users/".md5(@mysql_real_escape_string($_POST['email_input']))."/"; @mkdir($uniquedir, 0700); @mysql_query("INSERT INTO `".$MYSQL_DB_NAME_CORE."`.`users` (`Email`, `Password`, `Candidate`, `UniqueDirectory`,`activation_code`) VALUES ('".@mysql_real_escape_string($_POST['email_input'])."', '".md5($_POST['password_input'])."', '1', '".$uniquedir."','".$_SESSION['activationcode']."')", $MYSQL_DB_LINK) or die("Page Failed to Load.2"); $uid = @mysql_insert_id($MYSQL_DB_LINK); @mysql_query("INSERT INTO `".$MYSQL_DB_NAME_CORE."`.`candidates` (`U_ID`, `FullName`, `MobileNo`, `Country`, `City`, `Town`, `PostCode`, `ES_ID`, `Education`, `S_ID`, `CV`) VALUES ('".$uid."', '".@mysql_real_escape_string($_POST['fullname_input'])."', '".@mysql_real_escape_string($_POST['mobileno_input'])."', '".@mysql_real_escape_string($_POST['country_input'])."', '".@mysql_real_escape_string($_POST['city_input']."', '".@mysql_real_escape_string($_POST['town_input']))."', '".@mysql_real_escape_string($_POST['postcode_input'])."', ".@mysql_real_escape_string($_POST['estatus_input']).", '".@mysql_real_escape_string($_POST['education_input'])."', '".@mysql_real_escape_string($_POST['dsalary_input'])."', '".@mysql_real_escape_string($_POST['cv_input'])."')", $MYSQL_DB_LINK) or die("Page Failed to Load.3"); @mysql_query("INSERT INTO `visualc5_punbb`.`users` (`group_id`, `username`, `password`, `salt`, `email`, `registration_ip`) VALUES ('3', '".@mysql_real_escape_string($_POST['email_input'])."', '".md5($_POST['password_input'])."', '', '".@mysql_real_escape_string($_POST['email_input'])."', '".$_SERVER['REMOTE_ADDR']."')", $MYSQL_DB_LINK) or die("Page Failed to Load.5"); if ($_FILES['pdf_input']['error'] < 1 && $_FILES['pdf_input']['size'] > 0 && $_FILES['pdf_input']['size'] < 4097152 //4Mb limit && $_FILES['pdf_input']['type'] == 'application/pdf') { $newpdf = $uniquedir."cv.pdf"; if ($result = move_uploaded_file($_FILES['pdf_input']['tmp_name'], $newpdf)) { } } $msg = str_replace("[user]", @mysql_real_escape_string($_POST['email_input']), @file_get_contents("emails/candidatecomfirm.html")); $msg = str_replace("[password]", $_POST['password_input'], $msg); $msg =str_replace("[activation_code]", $_SESSION['activationcode'], $msg); @mail(@mysql_real_escape_string($_POST['email_input']), "Visual Candidates", $msg); Login(@mysql_real_escape_string($_POST['email_input']), md5($_POST['password_input']), $MYSQL_DB_NAME_CORE, $MYSQL_DB_LINK); $_SESSION['status'][0] = true; } } } else if ($_GET['p'] == 'e') { $dbData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`Email` = '".@mysql_real_escape_string($_POST['email_input'])."'", $MYSQL_DB_LINK) or die("Page Failed to Load.12"); if (@mysql_num_rows($dbData) < 1) $emailFree = 1; $dbData = mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e WHERE vc_c_e.`CompanyName` = '".@mysql_real_escape_string($_POST['company_input'])."'", $MYSQL_DB_LINK) or die(mysql_error()); if (@mysql_num_rows($dbData) < 1) $companyFree = 1; if ($emailFree && eregi($emailpattern, $_POST['email_input']) && $_POST['email_input'] === $_POST['email_confirm_input']) { if ($captchaCorrect && $companyFree && strlen($_POST['password_input']) > 5 && $_POST['password_input'] == $_POST['password_confirm_input'] && strlen($_POST['employername_input']) > 0 && strlen($_POST['company_input']) > 0 && strlen($_POST['phoneno_input']) == 11 && ($_POST['advertising_input'] || $_POST['hiring_input']) && $_POST['terms_input']) { //echo "I am here now"; $uniquedir = "users/".md5(@mysql_real_escape_string($_POST['email_input']))."/"; @mkdir($uniquedir, 0700); mysql_query("INSERT INTO `".$MYSQL_DB_NAME_CORE."`.`users` (`Email`, `Password`, `Employer`, `UniqueDirectory`,`activation_code`) VALUES ('".@mysql_real_escape_string($_POST['email_input'])."', '".md5($_POST['password_input'])."', '1', '".$uniquedir."','".$_SESSION['activationcode']."')", $MYSQL_DB_LINK) or die("Page Failed to Load.1"); $uid = @mysql_insert_id($MYSQL_DB_LINK); mysql_query("INSERT INTO `".$MYSQL_DB_NAME_CORE."`.`employers` (`U_ID`, `EmployerName`, `CompanyName`, `Country`, `City`, `Town`, `PhoneNumber`, `Advertising`, `Hiring`, `Description`) VALUES ('".$uid."', '".@mysql_real_escape_string($_POST['employername_input'])."', '".@mysql_real_escape_string($_POST['company_input'])."', '".@mysql_real_escape_string($_POST['country_input'])."', '".@mysql_real_escape_string($_POST['city_input']."', '".@mysql_real_escape_string($_POST['town_input']))."', '".@mysql_real_escape_string($_POST['postcode_input'])."', '".@mysql_real_escape_string($_POST['phoneno_input'])."', '".@mysql_real_escape_string($_POST['advertising_input'])."', '".@mysql_real_escape_string($_POST['hiring_input'])."', '".@mysql_real_escape_string($_POST['description_input'])."')", $MYSQL_DB_LINK) or die("Page Failed to Load.2"); mysql_query("INSERT INTO `visualc5_punbb`.`users` (`group_id`, `username`, `password`, `salt`, `email`, `registration_ip`) VALUES ('5', '".@mysql_real_escape_string($_POST['email_input'])."', '".md5($_POST['password_input'])."', '', '".@mysql_real_escape_string($_POST['email_input'])."', '".$_SERVER['REMOTE_ADDR']."')", $MYSQL_DB_LINK) or die("Page Failed to Load.1"); $msg = str_replace("[user]", @mysql_real_escape_string($_POST['email_input']), @file_get_contents("emails/candidatecomfirm.html")); $msg = str_replace("[password]", $_POST['password_input'], $msg); $msg =str_replace("[activation_code]", $_SESSION['activationcode'], $msg); @mail(@mysql_real_escape_string($_POST['email_input']), "Visual Candidates", $msg); Login(@mysql_real_escape_string($_POST['email_input']), md5($_POST['password_input']), $MYSQL_DB_NAME_CORE, $MYSQL_DB_LINK); $_SESSION['status'][0] = true; } } } } ?> <?php include("includes/header.php"); ?>
  9. i want part is offer still on....
  10. Change Margin to this 30px 20px 3px 30px will do it
  11. Hi i am new to all this so please explain like i am a child, Basic i have a users and videos folders creater in my registration and i need to access it on my client folder a & candidates folder b, that's on two different folder How do i set include path to access the video on registration to be seen on the above Many thanks
  12. ok the folder i need to get to is called video its in registration folder and it needs to be deployed in candidates and employers folders on the same server. would i be right in using this code <?php $file = $_SERVER["DOCUMENT_ROOT"] => ../registration/videos ?>
  13. Thanks trying to get me head round it now
  14. Hi i am new to all this so please explain like i am a child, Basic i have a user and video folders creater in my registration and i need to access it on my client a.php & b.php on two different folder How do i set include path to access the video on registration to be seen on a.php and b.php Many thanks
  15. Thanks Guru, but this was not me this was a guy i was paying to develop the system, i wish i could understand all this hopefully i can get someone to guide me in this as a private lesson on something. would it be possible to break it down to me? what you have written or where it is to go.
  16. can someone take a look please <?php if ($_GET['attempt']) { if ($_GET['f'] == 'e') { $dbData = mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`Email` = '".@mysql_real_escape_string($_POST['email_input'])."'", $MYSQL_DB_LINK) or die("Page Failed to Load.12"); if (@mysql_num_rows($dbData) < 1) $emailFree = 1; if ($emailFree && eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['email_input'])) ?> Form Script <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=e"> <div class="EntryElement" style="height:40px;"> <label style="float:left;padding-top:2px;"><strong>Current Email</strong>:</label> <label style="float:right;"><?php echo $dbUserData['Email']; ?></label> </div> <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="email_input"><strong>New Email</strong>:</label> <input style="float:right;" size="20" type="text" name="email_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div>
  17. Hi there could someone please aid me in correcting this video uploading script so as to upload either on the server in its own file or in the database. please help
  18. Is your script better than this, <div style="float:right;width:500px;padding-top:5px;padding-bottom:5px;"> <img src="http://maps.google.com/maps/api/staticmap?center=<?php echo $dbJobInfo['Postcode']; ?>&zoom=15&size=500x375&maptype=roadmap&sensor=false" width="500" height="375" /> </div> [/code} i need something with a pointer on it. help please
  19. I'm in awe i wish i could understand....
  20. It would be great if the offer was still around....um? maybe it is.
  21. syxzero posted a topic in Server Side
    <?php include("includes/common.php"); $PageName = "Account"; if (!IsAuth()) { header('Location: register.php?redirect='.urlencode($_SERVER["REQUEST_URI"])); exit(); } $employment_status = vc5_GetEmploymentStatus($MYSQL_DB_NAME_CORE, $MYSQL_DB_LINK); //Edit if ($_GET['attempt']) { if ($_GET['f'] == 'e') { $dbData = mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`Email` = '".@mysql_real_escape_string($_POST['email_input'])."'", $MYSQL_DB_LINK) or die("Page Failed to Load.12"); if (@mysql_num_rows($dbData) < 1) $emailFree = 1; if ($emailFree && eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['email_input'])) { $uniquedir = "users/".md5(@mysql_real_escape_string($_POST['email_input']))."/"; @mkdir($uniquedir, 0700); @copy(GetUDir()."pic.png", $uniquedir."pic.png");@copy(GetUDir()."pic.jpg", $uniquedir."pic.jpg");@copy(GetUDir()."cv.pdf", $uniquedir."cv.pdf"); @unlink(GetUDir()."cv.pdf");@unlink(GetUDir()."pic.png");@unlink(GetUDir()."pic.jpg"); @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u SET vc_c_u.`Email` = '".@mysql_real_escape_string($_POST['email_input'])."', vc_c_u.`UniqueDirectory` = '".$uniquedir."' WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()."sdg"); $success = 1; } } else if ($_GET['f'] == 'p') { $dbData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $dbData = @mysql_fetch_assoc($dbData); if ($dbData['Password'] == md5($_POST['password_input']) && $_POST['npassword_input'] == $_POST['rnpassword_input']) { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u SET vc_c_u.`Password` = '".@md5($_POST['npassword_input'])."' WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } } else if ($_GET['f'] == 'n') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`FullName` = '".@mysql_real_escape_string($_POST['fullname_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'm') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`MobileNo` = '".@mysql_real_escape_string($_POST['mobileno_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'pc') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`PostCode` = '".@mysql_real_escape_string($_POST['postcode_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'es') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`ES_ID` = '".@mysql_real_escape_string($_POST['estatus_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'ed') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`Education` = '".@mysql_real_escape_string($_POST['education_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 's') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`DesiredSalary` = '".@mysql_real_escape_string($_POST['dsalary_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'cv') { $dbData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error); $dbData = @mysql_fetch_assoc($dbData); if ($_FILES['pdf_input']['error'] < 1 && $_FILES['pdf_input']['size'] > 0 && $_FILES['pdf_input']['size'] < 3097152 //3Mb limit && $_FILES['pdf_input']['type'] == 'application/pdf') { $newpdf = $dbData['UniqueDirectory']."cv.pdf"; $result = move_uploaded_file($_FILES['pdf_input']['tmp_name'], $newpdf); } @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`CV` = '".@mysql_real_escape_string($_POST['cv_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'pic') { $dbData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error); $dbData = @mysql_fetch_assoc($dbData); if ($_FILES['pic_input']['error'] < 1 && $_FILES['pic_input']['size'] > 0 && $_FILES['pic_input']['size'] < 3097152 //3Mb limit && ($_FILES['pic_input']['type'] == 'image/jpeg' || $_FILES['pic_input']['type'] == 'image/png')) { $newpdf = $dbData['UniqueDirectory']."pic.".($_FILES['pic_input']['type'] == 'image/png' ? "png" : "jpg"); $result = move_uploaded_file($_FILES['pic_input']['tmp_name'], $newpdf); } } else if ($_GET['f'] == 'vid') { $dbData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error); $dbData = @mysql_fetch_assoc($dbData); if ($_FILES['video_input']['error'] < 1 && $_FILES['video_input']['size'] > 0 && $_FILES['video_input']['size'] < 4097152 //4Mb limit && ($_FILES['video_input']['type'] == 'video/avi' || $_FILES['video_input']['type'] == 'video/mov')) { $newpdf = $dbData['UniqueDirectory']."vid".($_FILES['video_input']['type'] == 'video/avi' ? "avi" : "mov"); $result = move_uploaded_file($_FILES['video_input']['tmp_name'], $newpdf); } @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c SET vc_c_c.`CV` = '".@mysql_real_escape_string($_POST['cv_input'])."' WHERE vc_c_c.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'en') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e SET vc_c_e.`EmployerName` = '".@mysql_real_escape_string($_POST['employername_input'])."' WHERE vc_c_e.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'cn') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e SET vc_c_e.`CompanyName` = '".@mysql_real_escape_string($_POST['companyname_input'])."' WHERE vc_c_e.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'des') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e SET vc_c_e.`Description` = '".@mysql_real_escape_string($_POST['description_input'])."' WHERE vc_c_e.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'pn') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e SET vc_c_e.`PhoneNumber` = '".@mysql_real_escape_string($_POST['phonenumber_input'])."' WHERE vc_c_e.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } else if ($_GET['f'] == 'cr') { @mysql_query("UPDATE `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e SET vc_c_e.`CompanyRegisteredNo` = '".@mysql_real_escape_string($_POST['companyregisteredno_input'])."' WHERE vc_c_e.`U_ID` = '".GetUId()."'", $MYSQL_DB_LINK) or die(mysql_error()); $success = 1; } } //Current Data Pull if (IsEmployer()) { $mode = 1; $dbUserData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`employers` vc_c_e, `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."' AND vc_c_e.`U_ID` = vc_c_u.`U_ID`", $MYSQL_DB_LINK) or die(mysql_error()); $dbUserData = @mysql_fetch_assoc($dbUserData); } else { $mode = 2; $dbUserData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`candidates` vc_c_c, `".$MYSQL_DB_NAME_CORE."`.`users` vc_c_u WHERE vc_c_u.`U_ID` = '".GetUId()."' AND vc_c_c.`U_ID` = vc_c_u.`U_ID`", $MYSQL_DB_LINK) or die(mysql_error()); $dbUserData = @mysql_fetch_assoc($dbUserData); $dbESData = @mysql_query("SELECT * FROM `".$MYSQL_DB_NAME_CORE."`.`employment_status`", $MYSQL_DB_LINK) or die(mysql_error()); } ?> <?php include("includes/header.php"); ?> <script language="javascript" type="text/javascript" src="js/account.js"></script> <div id="Content"> <div id="SideBar"> <div class="SideBarTitle"> <h4>Account Details</h4> </div> <div class="SideBarElement"> <a href="profile.php">Back to Profile</a> </div><br/> <div class="SideBarElement"> <div id="advertspace_1"></div> <script type="text/javascript"> jwplayer("advertspace_1").setup({ flashplayer: "jwplayer/player.swf", file: "videos/90d25c0f67e1360b41bfc551c53bfdf0.mp4", image: "videos/90d25c0f67e1360b41bfc551c53bfdf0.mp4.jpg", controlbar: "none", height: 160, width: 225 }); </script> </div> <div class="SideBarTitle"> <h4 style="padding:5px; margin:5px; color: #fff; text-align: center;">Place Ad Here</h4> </div> </div> </div> <div style="float:right;width:740px;text-align:left;min-height:450px;padding:10px;background-color:#EAEAF3;"> <div style="float:left;width:740px;text-align:left;padding-bottom:10px;"> <?php if ($mode == 1) { //employer ?> <div id="Accordion-Account" class="accordion" style="width:400px;"> <div class="accordion-toggle" style="clear:both;"> Change Email </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=e"> <div class="EntryElement" style="height:40px;"> <label style="float:left;padding-top:2px;"><strong>Current Email</strong>:</label> <label style="float:right;"><?php echo $dbUserData['Email']; ?></label> </div> <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="email_input"><strong>New Email</strong>:</label> <input style="float:right;" size="20" type="text" name="email_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Password </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=p"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="password_input"><strong>Current Password</strong>:</label> <input style="float:right;" size="20" type="password" name="password_input" value="" /> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="npassword_input"><strong>New Password</strong>:</label> <input style="float:right;" size="20" type="password" name="npassword_input" value="" /> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="rnpassword_input"><strong>Retype New Password</strong>:</label> <input style="float:right;" size="20" type="password" name="rnpassword_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Employer Name </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=en"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Full Name</strong>:</label> <label style="float:right;"><?php echo $dbUserData['EmployerName']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="employername_input"><strong>New Full Name</strong>:</label> <input style="float:right;" size="20" type="text" name="employername_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Company Name </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=cn"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Company Name</strong>:</label> <label style="float:right;"><?php echo $dbUserData['CompanyName']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="companyname_input"><strong>New Company Name</strong>:</label> <input style="float:right;" size="20" type="text" name="companyname_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Description </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=des"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="description_input"><strong>Current Description</strong>:</label> <textarea style="float:right;width:380px;height:100px;resize:none;" size="20" type="text" name="description_input"><?php echo $dbUserData['Description']; ?></textarea> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change PhoneNumber </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=pn"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current PhoneNumber</strong>:</label> <label style="float:right;"><?php echo $dbUserData['PhoneNumber']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="phonenumber_input"><strong>New PhoneNumber</strong>:</label> <input style="float:right;" size="20" type="text" name="phonenumber_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Company Registered No </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=cr"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Company Registered No</strong>:</label> <label style="float:right;"><?php echo $dbUserData['CompanyRegisteredNo']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="companyregisteredno_input"><strong>Company Registered No</strong>:</label> <input style="float:right;" size="20" type="text" name="companyregisteredno_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Profile Picture </div> <div class="accordion-content"> <form enctype="multipart/form-data" method="post" action="editaccount.php?attempt=1&f=pic"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Profile Picture</strong>:</label> <img src="profileimage.php?i=<?php echo $dbUserData['U_ID']; ?>" width="100px" height="100px"/> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="pic_input"><strong>New Profile Picture</strong>:</label> <input style="float:right;" size="20" type="file" name="pic_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Profile Video </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=e"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Profile Video</strong>:</label> <label style="float:right;"><?php echo $dbUserData['Video']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="vid_input"><strong>New Profile Video</strong>:</label> <input style="float:right;" size="20" type="file" name="vid_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> </div> <?php } else { //candidate ?> <h2><?php echo $dbUserData['FullName']; ?></h2> <?php if ($success) { ?> <div> Details Changed </div> <?php } ?> <div id="Accordion-Account" class="accordion" style="width:400px;"> <div class="accordion-toggle" style="clear:both;"> Change Email </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=e"> <div class="EntryElement" style="height:40px;"> <label style="float:left;padding-top:2px;"><strong>Current Email</strong>:</label> <label style="float:right;"><?php echo $dbUserData['Email']; ?></label> </div> <div class="EntryElement"> <label style="float:left;padding-top:2px;" for="email_input"><strong>New Email</strong>:</label> <input style="float:right;" size="20" type="text" name="email_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Password </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=p"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="password_input"><strong>Current Password</strong>:</label> <input style="float:right;" size="20" type="password" name="password_input" value="" /> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="npassword_input"><strong>New Password</strong>:</label> <input style="float:right;" size="20" type="password" name="npassword_input" value="" /> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="rnpassword_input"><strong>Retype New Password</strong>:</label> <input style="float:right;" size="20" type="password" name="rnpassword_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Name </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=n"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Full Name</strong>:</label> <label style="float:right;"><?php echo $dbUserData['FullName']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="fullname_input"><strong>New Full Name</strong>:</label> <input style="float:right;" size="20" type="text" name="fullname_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Mobile Number </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=m"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Mobile Number</strong>:</label> <label style="float:right;"><?php echo $dbUserData['MobileNo']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="mobileno_input"><strong>New Mobile Number</strong>:</label> <input style="float:right;" size="20" type="text" name="mobileno_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change PostCode </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=pc"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current PostCode</strong>:</label> <label style="float:right;"><?php echo $dbUserData['PostCode']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="postcode_input"><strong>New PostCode</strong>:</label> <input style="float:right;" size="20" type="text" name="postcode_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Employment Status </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=es"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Employment Status</strong>:</label> <label style="float:right;"><?php echo $employment_status[$dbUserData['ES_ID']]; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="postcode_input"><strong>New Employment Status</strong>:</label> <select style="float:right;" name="estatus_input"> <?php while ($dbESRow = @mysql_fetch_assoc($dbESData)) { ?> <option value="<?php echo $dbESRow['ES_ID']; ?>"><?php echo $dbESRow['Status']; ?></option> <?php } ?> </select> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Education </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=ed"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="education_input"><strong>Current Education</strong>:</label> <textarea style="float:right;width:380px;height:100px;resize:none;" size="20" type="text" name="education_input"><?php echo $dbUserData['Education']; ?></textarea> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Desired Salary </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=s"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Desired Salary</strong>:</label> <label style="float:right;"><?php echo $dbUserData['DesiredSalary']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="dsalary_input"><strong>New Desired Salary</strong>:</label> <input style="float:right;" size="20" type="text" name="dsalary_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change CV </div> <div class="accordion-content"> <form enctype="multipart/form-data" method="post" action="editaccount.php?attempt=1&f=cv"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="cv_input"><strong>Current Written Cover Letter</strong>:</label> <textarea style="float:right;width:380px;height:100px;resize:none;" size="20" type="text" name="cv_input" ><?php echo $dbUserData['CV']; ?></textarea> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="pdf_input"><strong>Upload New CV</strong>:</label> <input style="float:right;" size="20" type="file" name="pdf_input" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Profile Picture </div> <div class="accordion-content"> <form enctype="multipart/form-data" method="post" action="editaccount.php?attempt=1&f=pic"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Profile Picture</strong>:</label> <img src="profileimage.php?i=<?php echo $dbUserData['U_ID']; ?>" width="100px" height="100px"/> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="pic_input"><strong>New Profile Picture</strong>:</label> <input style="float:right;" size="20" type="file" name="pic_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> <div class="accordion-toggle" style="clear:both;"> Change Profile Video </div> <div class="accordion-content"> <form method="post" action="editaccount.php?attempt=1&f=e"> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;"><strong>Current Profile Video</strong>:</label> <label style="float:right;"><?php echo $dbUserData['Video']; ?></label> </div> <div class="EntryElement" style="padding-top:32px;"> <label style="float:left;padding-top:2px;" for="vid_input"><strong>New Profile Video</strong>:</label> <input style="float:right;" size="20" type="file" name="vid_input" value="" /> </div> <div class="EntryElement"> <input style="float:right;" type="submit" value="Save Change"/> </div> </form> </div> </div> <?php } ?> </div> <div style="height:800px;width:100%;"> </div> </div> <div style="clear:both;"></div> </div> <?php include("includes/footer.php"); ?>

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.