<th>usernameid</th>
<th>ExpectedIncome</th>
<th>CurrentIncome</th>
<th>CurrentEmployer</th>
<th>CurrentPosition</th>
<th>PreviousEmployer</th>
<th>PreviousPosition</th>
<th>YearsofExperiance</th>
<th>Summury</th>
<th>Edit</th>
<th>Delete</th></tr>
                                              </thead>
							<?php 
$projects = array();
$proobj = new Select();
$projects = $proobj->selectAll("experiance");
for ($i = 0; $i < count($projects); $i++) {
    ?>
                             <tr>
                                                   <tr><td><?php 
    echo $projects[$i]['experianceid'];
    ?>
</td>
<td><?php 
    echo $projects[$i]['id'];
    ?>
</td>
<td><?php 
    echo $projects[$i]['usernameid'];
    ?>
</td>
Beispiel #2
0
<?php

$obj = new Select();
$array_products = $obj->getProducts($_GET);
$sql_type_tent = "SELECT * FROM type_tent";
$sql_color_tent = "SELECT * FROM color_tent";
$sql_water_resistance = "SELECT * FROM water_resistance";
$sql_frame_tents = "SELECT * FROM frame_tents";
$sql_roominess_mav = "SELECT * FROM roominess_mav order by int_val ASC";
$sql_roominess_mob = "SELECT * FROM roominess_mob order by int_val ASC";
$sql_accessory_id = "SELECT * FROM categories_mob WHERE cat_name='Аксессуары'";
$type_tent = $obj->selectAll($sql_type_tent);
$color_tent = $obj->selectAll($sql_color_tent);
$water_resistance = $obj->selectAll($sql_water_resistance);
$frame_tents = $obj->selectAll($sql_frame_tents);
$roominess_mav = $obj->selectAll($sql_roominess_mav);
$roominess_mob = $obj->selectAll($sql_roominess_mob);
$arr_img = unserialize($array_products[0]['img']);
$accessory_id = $obj->selectAll($sql_accessory_id);
$sql_accessory = "SELECT * FROM catalog_price WHERE id_category=" . $accessory_id[0]['id'];
$accessory = $obj->selectAll($sql_accessory);
function base64_encode_image($filename, $filetype)
{
    if ($filename) {
        $imgbinary = fread(fopen($filename, "r"), filesize($filename));
        return 'data:image/' . $filetype . ';base64,' . base64_encode($imgbinary);
    }
}
if (isset($array_products[0]["colors_tent"])) {
    $arr_color_tent = unserialize($array_products[0]["colors_tent"]);
}
<th>fullAddress</th>
<th>city</th>
<th>phoneNumber</th>
<th>personalWebsite</th>
<th>languages</th>
<th>insearchofjob</th>
<th>experiance </th>
<th>gallery </th>
<th>skill </th>
<th>Edit</th>
<th>Delete</th></tr>
                                              </thead>
							<?php 
$projects = array();
$proobj = new Select();
$projects = $proobj->selectAll("username");
for ($i = 0; $i < count($projects); $i++) {
    ?>
                             <tr>
                                                   <tr><td><?php 
    echo $projects[$i]['usernameid'];
    ?>
</td>
<td><?php 
    echo $projects[$i]['id'];
    ?>
</td>
<td><?php 
    echo $projects[$i]['fullName'];
    ?>
</td>
Beispiel #4
0
<?php

require '../model/class_connect_db.php';
require '../model/class_select.php';
if ($_GET['company'] == 'maverick') {
    $sql_roominess = "SELECT * FROM roominess_mav order by int_val";
    $sql_water_resistance = "SELECT * FROM water_resistance";
    $sql_frame_tents = "SELECT * FROM frame_tents";
    $select = new Select();
    $result_roominess = $select->selectAll($sql_roominess);
    $result_water_resistance = $select->selectAll($sql_water_resistance);
    $result_frame_tents = $select->selectAll($sql_frame_tents);
}
if ($_GET['company'] == 'mobiba') {
    $sql_roominess_mob = "SELECT * FROM roominess_mob order by int_val";
    $sql_type_tent = "SELECT * FROM type_tent";
    $sql_color_tent = "SELECT * FROM color_tent";
    $select = new Select();
    $result_roominess_mob = $select->selectAll($sql_roominess_mob);
    $sql_type_tent = $select->selectAll($sql_type_tent);
    $sql_color_tent = $select->selectAll($sql_color_tent);
}
require '../tpl/tpl_header_test.php';
require '../tpl/tpl_nav.php';
require '../tpl/tpl_settings.php';
require '../tpl/tpl_footer.php';