コード例 #1
0
<section class="content-header">
    <h1>
        Setting
    </h1>
</section>
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<div id="flash_msg">
	    		<?php 
if ($this->session->flashdata('flash_type') == "success" || $flash_arr['flash_type'] == "success") {
    $msg = $flash_arr['flash_msg'] != "" ? $flash_arr['flash_msg'] : $this->session->flashdata('flash_msg');
    echo success_msg_box($msg);
}
if ($this->session->flashdata('flash_type') == "error" || $flash_arr['flash_type'] == "error") {
    $msg = $flash_arr['flash_msg'] != "" ? $flash_arr['flash_msg'] : $this->session->flashdata('flash_msg');
    echo error_msg_box($msg);
}
?>
			</div>
		</div>
		<div class='col-md-6'>
		<div class='box box-solid'>
    		<div class="box-body">
				<form role="form" action="" method="post" id='setting_form' >
	    			<div class="form-group">
                        <label>Firm Name:</label>
                        <input type="text" placeholder="Enter ..." class="form-control validate[required]" name="firmname" id="firmname" value="<?php 
echo $setting_data->firmname;
?>
" >
コード例 #2
0
<?php 
if ($from != "mobile") {
    ?>
<div class="box box-site-header">
	<div class="box-header">
		<center><h1 class='page-title'> Contact us </h1></center>
	</div>
</div>
<?php 
}
?>
<div id="flash_msg">
		
		<?php 
if ($this->session->flashdata('flash_type') == "success") {
    echo success_msg_box($this->session->flashdata('flash_msg'));
}
if ($this->session->flashdata('flash_type') == "error") {
    echo error_msg_box($this->session->flashdata('flash_msg'));
}
?>

				<?php 
if (@$error_msg != "") {
    ?>
					<div id="error_msg" class='alert alert-danger alert-dismissable'>
							<button class="close" aria-hidden="true" data-dismiss="alert" type="button">X</button>
							<?php 
    echo $error_msg;
    ?>
					</div>
コード例 #3
0
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="bg-black">
        <div class="form-box" id="login-box">
            <div class="header">Forgot Password</div>
            <form action="" method="post">
                <div class="body bg-gray">
                    <div id="flash_msg">
                        <?php 
if (@$flash_msg['flash_type'] == "success") {
    echo success_msg_box($flash_msg['flash_msg']);
}
if (@$flash_msg['flash_type'] == "error") {
    echo error_msg_box($flash_msg['flash_msg']);
}
?>
                    </div>
                    <div class="form-group <?php 
echo @$error_msg['email'] != '' ? 'has-error' : '';
?>
">
                        <?php 
if (@$error_msg['email'] != '') {
    ?>
                            <label for="inputError" class="control-label"><i class="fa fa-times-circle-o"></i><?php 
    echo $error_msg['email'];