Beispiel #1
0
<?php

require_once '../bootstrap.php';
$job = \Model\Zjob::getInstance();
$pageNo = !empty($_REQUEST['page']) ? $_REQUEST['page'] : 0;
$jobs = $job->selectPage(array(), 'job_id', $pageNo);
$breadcrumbs = new \Core\Breadcrumb(false, true);
$breadcrumbs->add('Job Titles', $_SERVER['REQUEST_URI']);
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<?php 
include_once '../common/header_content.php';
?>
		<?php 
include_once '../common/admin_styles.php';
?>
	</head>
	<body>
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-12">
					<?php 
include_once '../common/admin_head.php';
?>
					<?php 
include_once '../common/admin_nav.php';
?>
					<div class="row">
						<div class="col-md-2">
Beispiel #2
0
<?php

require_once '../bootstrap.php';
require_once '../core/Form.php';
use Core\Form;
$js_files = array_merge($js_files, array('jquery.validate.js', 'job.form.js'));
$do = !empty($_REQUEST['do']) ? $_REQUEST['do'] : "zjob/add";
$breadcrumbs = unserialize($_SESSION['breadcrumbs']);
$breadcrumb = 'Add';
$jobObj = \Model\Zjob::getInstance();
if (!empty($_REQUEST['id'])) {
    $job = $jobObj->getById($_REQUEST['id']);
    $breadcrumb = 'Edit';
}
$breadcrumbs->add($breadcrumb);
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<?php 
include_once '../common/header_content.php';
?>
		<?php 
include_once '../common/admin_styles.php';
?>
	</head>
	<body>
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-12">
					<?php