Beispiel #1
0
        $arrProjectTraduction = $objProj->getTraduction(array("project_id" => $_GET['id']));
        $arrData['project'] = $arrProject;
        $arrData['project_image'] = $arrProjectImage;
        $arrData['project_traduction'] = $arrProjectTraduction;
    }
} else {
    //return to list
    header('Location: list.php?module=' . $module);
    exit;
}
/*********************************************************************************/
//Language List
$objLang = new Language();
$arrLanguage = $objLang->get();
//Type Images
$arrProjectImageType = $objProj->getImageType();
?>

<!-- Headers -->
<?php 
include SITE_DIR . '/back/include/header.php';
?>
					
<!-- Module Content -->
<div id="moduleContent" class="wrapper">
			
	<!-- View-->
	<div id="record">
				
		<?php 
if (!empty($_GET['action'])) {
Beispiel #2
0
<?php

//Object Back
$objProj = new bProject();
//Object Front Variable
$objVar = new Variable();
$objUtil = new Util();
// Arrays
$arrData = array();
$arrErrors = array();
//Type Images
$arrProjectImageType = $objProj->getImageType();
//Construction Pattern Search Image
$listPost = "";
$listTypeKey = "";
$patternPost = "";
$patternTypeKey = "";
foreach ($arrProjectImageType as $key => $data) {
    $listPost .= "FileName-UploadifyBtn-" . $data["project_image_type_value"];
    $listTypeKey .= $data["project_image_type_value"];
    if ($key < count($arrProjectImageType) - 1) {
        $listPost .= "|";
        $listTypeKey .= "|";
    }
}
$patternPost = '/(' . $listPost . ')/';
$patternTypeKey = '/(' . $listTypeKey . ')/';
//POST
if (!empty($_POST)) {
    $action = "";
    $return = false;