コード例 #1
0
ファイル: header.php プロジェクト: BitmanNL/traffictower-cms
<!DOCTYPE html>
<html lang="<?php 
echo $language_data[$this->config->item('language')]['code'];
?>
">
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><?php 
//no scaling for mobile devices
?>

    <?php 
echo string_empty($language_alternates);
?>

    <!--
    
    @
    @@                    
    @@           @@       @@@@@   @@  @@@@@@  @@     @@     @@     @@    @@
    @@@          @@@@     @@  @@  @@  @@@@@@  @@@   @@@    @@@@    @@@   @@
    @@@ @@@@@@@@ @@       @@  @@  @@    @@    @@@@ @@@@   @@  @@   @@@@  @@
    @@@@@@@@@@@@@@@       @@@@@   @@    @@    @@ @ @ @@  @@@@@@@@  @@ @@ @@
    @@ @@@@@@@@@ @@       @@  @@  @@    @@    @@ @@@ @@  @@@@@@@@  @@  @@@@
    @@@  @@@@@  @@@       @@  @@  @@    @@    @@  @  @@  @@    @@  @@   @@@
    @@@@@@@@@@@@@@@       @@@@@   @@    @@    @@     @@  @@    @@  @@    @@
     @@   @@@   @@
      @@@     @@@            
        @@@@@@@           - powered by TrafficTower CMS  -  www.bitman.nl -

    -->
コード例 #2
0
<div class="layout_default row">
	<div class="content col-md-7">
		<?php 
echo string_empty($content);
?>
	</div>
	<div class="sidebar col-md-5">
		<?php 
echo string_empty($sidebar);
?>
	</div>
	<div class="clearfix"></div>
</div>
コード例 #3
0
<div class="layout_default row">
	<div class="sidebar col-md-5">
		<?php 
echo string_empty($sidebar);
?>
	</div>
	<div class="content col-md-7">
		<?php 
echo string_empty($content);
?>
	</div>
	<div class="clearfix"></div>
</div>
コード例 #4
0
</title>
</head>
<body>

	<?php 
echo lang('email_template_dear');
?>
 <?php 
echo empty($to_name) ? lang('email_template_sir_madam') : $to_name;
?>
,
	<br />
	<?php 
echo string_empty($body_html);
?>
	<br />
	<?php 
echo lang('email_template_yours_sincerely');
?>
,<br />
	<br />
	<?php 
echo string_empty($from_name);
?>
<br />
	<?php 
echo string_empty($from_email);
?>

</body>
</html>
コード例 #5
0
ファイル: footer.php プロジェクト: BitmanNL/traffictower-cms
    <?php 
// load cookielaw banner
?>
    <?php 
echo string_empty($cookielaw_banner);
?>

    <?php 
// if less than ie8, show notification upgrade browser
?>
    <?php 
$this->load->view('layouts/includes/ie7_notification');
?>

    <?php 
foreach ($preloaded_javascript_files as $file) {
    ?>
        <script src="<?php 
    echo $file;
    ?>
"></script>
    <?php 
}
?>

    <?php 
//Set site wide config options
?>
    <?php 
$this->load->view('layouts/includes/javascript_params');
?>
コード例 #6
0
ファイル: login.php プロジェクト: BitmanNL/traffictower-cms
<div class="classic-login" <?php 
if ($login_method !== 'classic') {
    ?>
style="display:none;"<?php 
}
?>
>
	<?php 
echo form_open('admin/login/authenticate', 'role="form"');
?>
		<input type="hidden" name="location_hash" value="">
		<div class="form-group">
			<label class="control-label" for="user_email">Gebruikersnaam:</label>
			<input class="form-control" id="user_email" type="email" name="email" value="<?php 
echo string_empty($email);
?>
" placeholder="E-mailadres" autofocus="autofocus">
		</div>
		<div class="form-group">
			<label class="control-label" for="user_password">Wachtwoord:</label>
			<input class="form-control" id="user_password" type="password" name="password" placeholder="Wachtwoord">
		</div>
		<div class="pull-right">
			<a href="<?php 
echo site_url('admin/login/forgot_password');
?>
" title="Wachtwoord vergeten?">Wachtwoord vergeten?</a>
		</div>
		<button type="submit" class="btn btn-primary">Inloggen</button>
	</form>
コード例 #7
0
" />
							<span class="input-group-addon">%</span>
						</div>
						<span class="help-block"><?php 
echo cms_form_error('width_percentage');
?>
</span>
					</div>
					<div class="form-group<?php 
echo cms_form_error('height_percentage') != '' ? ' has-error' : NULL;
?>
">
						<label for="form_height_percentage">Hoogte (in pixels): </label>
						<div class="input-group col-md-2">
							<input id="form_height_percentage" type="text" class="form-control" name="height_percentage" value="<?php 
echo cms_set_value('height_percentage', string_empty($video['height']));
?>
" />
							<span class="input-group-addon">px</span>
						</div>
						<span class="help-block"><?php 
echo cms_form_error('height_percentage');
?>
</span>
					</div>
				</div>

				<label class="radio">
					<input class="form_format" type="radio" name="format_type" value="absolute"<?php 
echo cms_set_value('format_type', $video['format_type']) == 'absolute' ? ' checked="checked"' : '';
?>
コード例 #8
0
<div class="element_text">
	
	<?php 
if (empty($text) && !empty($concept)) {
    ?>
		<div class="text-danger">- Concept -</div>
	<?php 
} else {
    ?>
		<?php 
    echo !empty($text['title']) ? '<strong>' . $text['title'] . '</strong>' : NULL;
    ?>
		<div>
			<?php 
    echo character_limiter(strip_tags(string_empty($text['content'])), 500);
    ?>
		</div>
		<?php 
    if (!empty($concept)) {
        ?>
			<div class="text-danger pull-right">- Concept aanwezig -</div>
			<div class="clearfix"></div>
		<?php 
    }
    ?>
	<?php 
}
?>

</div>
コード例 #9
0
ファイル: index.php プロジェクト: arctro/Impact
$mysql_host = "";
//Withheld
$mysql_database = "";
//Withheld
$mysql_user = "";
//Withheld
$mysql_password = "";
//Withheld
//conection
$link = mysqli_connect($mysql_host, $mysql_user, $mysql_password, $mysql_database) or die("Error " . mysqli_error($link));
$request = escape_get_post($link, "request");
$json = safe_get_post("json");
$access_id = escape_get_post($link, "access_id");
$delete_code = escape_get_post($link, "delete_code");
if (string_empty($request)) {
    end_func("Empty request");
}
if ($request == 'ADD_DATA') {
    $return = array('error' => '', 'data' => []);
    array_push($return['data'], add_data_header($link));
    $id = $return['data'][0]['id'];
    add_data($link, $id, $json);
    echo json_encode($return);
}
if ($request == 'LOAD_DATA') {
    $return = array('error' => '', 'data' => []);
    $header_data = load_header_data($link, escape_get_post($link, "access_id"));
    $id = $header_data[0]['id'];
    $data = load_data($link, $id);
    array_push($return['data'], $data);
コード例 #10
0
ファイル: index.php プロジェクト: BitmanNL/traffictower-cms
	<div class="pull-left">
		<img src="<?php 
echo base_url('assets/admin/img/bitman_logo.png');
?>
">
	</div>
	<div class="pull-left" style="padding: 10px 0 0 20px;">
		<h2>Welkom, <?php 
echo $site_name;
?>
!</h2>
		<p>Dit is het <strong>TrafficTower CMS</strong> van Bitman.<?php 
/* Nieuw? Lees dan eerst de <a href="<?=site_url('admin/help')?>">documentatie</a>.*/
?>
</p>
	</div>
	<div class="clearfix"></div>
</div>

<div class="row">
	<div class="col-md-6">
		<?php 
echo string_empty($dashboard_panels['odd']);
?>
	</div>
	<div class="col-md-6">
		<?php 
echo string_empty($dashboard_panels['even']);
?>
	</div>
</div>
コード例 #11
0
ファイル: logs.php プロジェクト: BitmanNL/traffictower-cms
if (!empty($logs)) {
    ?>
					<?php 
    foreach ($logs as $log) {
        ?>
						<tr>
							<td><?php 
        echo $log['date_created'];
        ?>
</td>
							<td><?php 
        echo $log['message'];
        ?>
</td>
							<td><?php 
        echo string_empty($log['user']['screen_name']);
        ?>
</td>
						</tr>
					<?php 
    }
    ?>
				<?php 
} else {
    ?>
					<tr>
						<td colspan="2">Geen logs gevonden</td>
					</tr>
				<?php 
}
?>
コード例 #12
0
function string_not_empty($value)
{
    return !string_empty($value);
}
コード例 #13
0
<div class="layout_default row">
	<div class="sidebar_left col-md-3">
		<?php 
echo string_empty($sidebar_left);
?>
	</div>
	<div class="content col-md-6">
		<?php 
echo string_empty($content);
?>
	</div>
	<div class="sidebar_right col-md-3">
		<?php 
echo string_empty($sidebar_right);
?>
	</div>
	<div class="clearfix"></div>
</div>
コード例 #14
0
ファイル: index.php プロジェクト: BitmanNL/traffictower-cms
					<?php 
echo form_input(array('id' => 'app_image', 'name' => 'image', 'value' => cms_set_value('image', string_empty($app_settings['image'])), 'type' => 'text'));
?>
				</td>
			</tr>

			<tr>
				<th>
					<span class="help pull-right" data-title="Apple-touch-icon" data-description="Bureaublad-icoon voor op de iPad en iPhone. Restricties: PNG-formaat, hoogte-breedte gelijk (vierkant).">?</span>
					<?php 
echo form_label('Apple-touch-icon :', 'app_apple_touch_icon');
?>
				</th>
				<td>
					<?php 
echo form_input(array('id' => 'app_apple_touch_icon', 'name' => 'apple_touch_icon', 'value' => cms_set_value('apple_touch_icon', string_empty($app_settings['apple_touch_icon'])), 'type' => 'text'));
?>
				</td>
			</tr>

		</tbody>
	</table>

	<div class="pull-right">
		<?php 
echo form_button(array('type' => 'submit', 'class' => 'btn btn-success', 'content' => 'Opslaan'));
?>
	</div>

	<div class="clearfix"></div>
コード例 #15
0
</title>
</head>
<body>

	<?php 
echo lang('email_template_dear');
?>
 <?php 
echo empty($to_name) ? lang('email_template_sir_madam') : $to_name;
?>
,
	<br />
	<?php 
echo string_empty($body_html);
?>
	<br />
	<?php 
echo lang('email_template_yours_sincerely');
?>
,<br />
	<br />
	<?php 
echo string_empty($from_name);
?>
<br />
	<?php 
echo app_settings_get('url');
?>

</body>
</html>