Ejemplo n.º 1
0
<body class="bgimage">
<div class="topspace"></div>

<?php 
include 'externallink.php';
include 'database/Insert.php';
include 'database/update.php';
$individualDetails = array();
$getAlpha = new Select();
if (isset($_GET['experianceid'])) {
    $individualDetails = $getAlpha->selectWhere("experiance", "experianceid", $_GET['experianceid']);
}
if (isset($_POST['submit'])) {
    $valuearry = array(htmlspecialchars($_POST['experianceid']), htmlspecialchars($_POST['id']), htmlspecialchars($_POST['usernameid']), htmlspecialchars($_POST['ExpectedIncome']), htmlspecialchars($_POST['CurrentIncome']), htmlspecialchars($_POST['CurrentEmployer']), htmlspecialchars($_POST['CurrentPosition']), htmlspecialchars($_POST['PreviousEmployer']), htmlspecialchars($_POST['PreviousPosition']), htmlspecialchars($_POST['YearsofExperiance']), htmlspecialchars($_POST['Summury']));
    $updateobj = new update();
    $updateobj->updateAll("experiance", "experianceid", $_POST['experianceid'], $valuearry);
}
?>
</head>
<body>
    <!-- start of navigation bar --> 
	
	
	<nav class="navbar navbar-default container navbar-inverse">
		<div class="container-fluid">
		
		
			<div class="navbar-header pull-left">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainnavbar" aria-expanded="false">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
Ejemplo n.º 2
0
<body class="bgimage">
<div class="topspace"></div>
		
		<?php 
include 'externallink.php';
include 'database/Insert.php';
include 'database/update.php';
$individualDetails = array();
$getAlpha = new Select();
if (isset($_GET['usernameid'])) {
    $individualDetails = $getAlpha->selectWhere("username", "usernameid", $_GET['usernameid']);
}
if (isset($_POST['submit'])) {
    $valuearry = array(htmlspecialchars($_POST['usernameid']), htmlspecialchars($_POST['id']), htmlspecialchars($_POST['fullName']), htmlspecialchars($_POST['email']), htmlspecialchars($_POST['dob']), htmlspecialchars($_POST['password']), htmlspecialchars($_POST['currentTime']), htmlspecialchars($_POST['profilePicture']), htmlspecialchars($_POST['fullAddress']), htmlspecialchars($_POST['city']), htmlspecialchars($_POST['phoneNumber']), htmlspecialchars($_POST['personalWebsite']), htmlspecialchars($_POST['languages']), htmlspecialchars($_POST['insearchofjob']), htmlspecialchars($_POST['experianceid']), htmlspecialchars($_POST['galleryid']), htmlspecialchars($_POST['skillid']));
    $updateobj = new update();
    $updateobj->updateAll("username", "usernameid", $_POST['usernameid'], $valuearry);
}
?>
</head>
<body>
    <!-- start of navigation bar --> 
	
	
	<nav class="navbar navbar-default container navbar-inverse">
		<div class="container-fluid">
		
		
			<div class="navbar-header pull-left">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainnavbar" aria-expanded="false">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
Ejemplo n.º 3
0
     } catch (Exception $ex) {
         echo __("***ERREUR*** ", __FILE__) . $ex->getMessage() . "\n";
     }
     try {
         echo __("Vérification de la mise à jour...", __FILE__);
         update::checkAllUpdate('core', false);
         config::save('version', jeedom::version());
         echo __("OK\n", __FILE__);
     } catch (Exception $ex) {
         echo __("***ERREUR*** ", __FILE__) . $ex->getMessage() . "\n";
     }
     echo __("***************Jeedom est à jour en version ", __FILE__) . jeedom::version() . "***************\n";
 }
 if (init('level', -1) > -1) {
     echo __("***************Mise à jour des plugins***************\n", __FILE__);
     update::updateAll();
     echo __("***************Mise à jour des plugins réussie***************\n", __FILE__);
 }
 try {
     message::removeAll('update', 'newUpdate');
     echo __("Vérification des mises à jour\n", __FILE__);
     update::checkAllUpdate();
     echo __("OK\n", __FILE__);
 } catch (Exception $ex) {
     echo __("***ERREUR*** ", __FILE__) . $ex->getMessage() . "\n";
 }
 try {
     jeedom::start();
 } catch (Exception $ex) {
     echo __("***ERREUR*** ", __FILE__) . $ex->getMessage() . "\n";
 }