if( !isset( $id ) ) {
$id = 'b_12';
}
if( !isset( $type ) ) {
$type = null;
}
if( !isset( $subdir ) ) {
$subdir = 'head';
}
if( isset( $_GET['package'] ) ) {
$package = $_GET['package'];
} else {
$package = null;
}
$conditions = getConditions();
$conds .= null;
foreach( $conditions as $key => $value ) {
$conds .= ' ';
$conds .= ''. $value['position'] .'. ' . $value['title'] . ' ';
$conds .= $value['description'];
$conds .= ' ';
}
if( isset( $_GET['timing'] ) ) {
echo '';
}
// Sellers
$sellers = getSellers();
$affiliates = getSellers(2.3);
// Check
if( isset( $_SESSION['seller_id'] ) ) {
foreach( $sellers as $key => $value ) {
if( $value['id'] == $_SESSION['seller_id'] ) {
$seller_id = $_SESSION['seller_id'];
}
}
foreach( $affiliates as $key => $value ) {
if( $value['id'] == $_SESSION['seller_id'] ) {
$seller_id = $_SESSION['seller_id'];
}
}
}
// List of horaire
$boucle['timing'] = ' ';
$ho=0;
while( $ho<24 ) {
if( $ho<10 ) {
$holabel = '0'.$ho;
} else {
$holabel = $ho;
}
$ha=0;
while( $ha<56 ) {
if( $ha<10 ) {
$halabel = '0'.$ha;
} else {
$halabel = $ha;
}
if( $ha % 5 == 0 ) {
$boucle['timing'] .= '
|