Esempio n. 1
0
					<div class="span2 create">
						<a href="view_theme.php">
                             <p align="center"><i class="iconic-cog"></i> Manage Theme</p>
						</a>
					</div>
				</div>
                <?php 
}
?>
			</div>

		</div>
		<!-- //Content -->

		<?php 
include_layout_template("footer.php");
?>
	</body>
</html>

<?php 
require_once LIB_PATH . DS . 'javascript.php';
?>
<script src="js/jquery.js"></script>
<script src="css/assets/js/bootstrap.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/adminreg.js"></script>
<script type="text/javascript">jQuery('.dropdown-toggle').dropdown();</script>
<div id="displayinfo" class="modal hide" tabindex="-1" data-backdrop="static" data-keyboard="false" style="display: none;">
	<div class="modal-body ajax_data"></div>
	<div class="modal-footer">
Esempio n. 2
0
//
//echo "<pre>";
//foreach ( $admin as $val) {
//
//    echo "<pre>";
//foreach ( $val as $key=>$val2) {
//    echo $key."-".$val2."<br>";
//}
//
//  //  print_r($val) ;
//}
//echo "</pre>";
//echo $admin [0][0];
//var_dump($admin);
//$username=$user->username;
//$existing_password= $user->hashed_password;
//$check=user::password_check($password,$existing_password);
echo "<br>";
if (isset($check)) {
    if ($check) {
        echo "password match";
    } else {
        echo "password did not match";
    }
}
//$user->kamy_var();
//$user->username="******";
//$user->first_name="kam";
//$user->kamy_var();
include_layout_template('footer.php');
Esempio n. 3
0
		<?php 
} else {
    echo "<br>Please select menu:";
}
// $subjects = Subject::find_by_sql("SELECT * from subjects");
// foreach ($subjects as $subject) {
// 	echo $subject->menu_name . "<br>";
// }
// $subjects = Subject::find_all();
// foreach($subjects as $subject) {
// 	echo "<br> Menu Name: " . $subject->menu_name;
// }
// if($current_subject) {
// 	echo "<h2>Subject</h2><br>";
// 	echo $current_subject->id;
// }
// $subject = Subject::find_by_id(15);
// $subject->menu_name = "Drugi";
// $subject->save();
?>


	</div> <!-- end messagedi></div>"v} page -->





<?php 
include_layout_template('admin_footer');
Esempio n. 4
0
            	<td><label for="rooms">No. of Rooms
                <span class="required-field">*</span></label></td>
                <td><input type="text" name="rooms" id="rooms" /></td>
            </tr>
            <tr>
            	<td><label for="fee">Management Fee
                <span class="required-field">*</span></label></td>
                <td><input type="text" name="fee" id="fee" /></td>
            </tr>
            <tr>
            	<td><label for="owner">Landlord
                <span class="required-field">*</span></label></td>
                <td><input type="text" name="owner" id="owner" /></td>
            </tr>
            <tr>
            	<td><label for="added">Date Added
                <span class="required-field">*</span></label></td>
                <td><input type="text" name="added" id="added" /></td>
            </tr>
            <tr>
            	<td><input type="submit" name="submit" value="Save" /></td>
            </tr>
            </table>
            </form>
            
        </div>
    </div> <!-- container -->

<?php 
include_layout_template("admin_footer.php");
Esempio n. 5
0
                </div>
                
                <!-- Site Footer -->
                <footer>
                    <?php 
include_layout_template($pagetype . '/includes/general_footer');
?>
                </footer>
                
            </div>
            <!-- End of Bottom Section -->
            
        </div>
        <!-- End of Main -->
        <?php 
if ($page == 'dashboard') {
    include_layout_template($pagetype . '/pages/article_writer', $article_writer);
    ?>
        <script src="<?php 
    display($dir);
    ?>
scripts/tinymce/tinymce.min.js"></script>
        <script src="<?php 
    display($dir);
    ?>
scripts/tinymce/tinymceInit.js"></script><?php 
}
?>
    
    </body>
</html>
Esempio n. 6
0
<?php

require_once '../../includes/initialize.php';
if (!$session->is_logged_in()) {
    redirect_to("login.php");
}
include_layout_template('admin_header.php');
include_layout_template('sidebar.php');
$zadatak = ZadatakKorisnik::find_by_id($_GET['id']);
?>
<div class="span12">
    <table class="table">
        <th>Naziv Zadatka</th>
        <th>Datum kreiranja</th>
        <th>Datum zadnje promjene</th>
        <th>Datum kad istièe</th>
        <th>Osobe na zadatku</th>
        <?php 
echo "<tr><td>{$zadatak->naziv}</td>";
echo "<td>{$zadatak->created_at}</td>";
echo "<td>{$zadatak->updated_at}</td>";
echo "<td>{$zadatak->expire_at}</td>";
echo "<td>{$zadatak->ime} {$zadatak->prezime}</td>";
echo "<td>{$zadatak->expire_at}</td>";
?>
    </table>
</div>

Esempio n. 7
0
<?php

require_once "includes/initialize.php";
?>

<?php 
include_layout_template('header.php');
$id = $_GET['id'];
echo $id;
?>
<div id="about" class="container-fluid">
  <div class="row">
    <div class="col-sm-8">
      <h2>About Company Page</h2><br>
      <h4>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</h4><br>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
      <br><button class="btn btn-default btn-lg">Get in Touch</button>
    </div>
    <div class="col-sm-4">
      <span class="glyphicon glyphicon-signal logo"></span>
    </div>
  </div>
</div>
    
</html>
Esempio n. 8
0
?>
			</tr>
			</thead>

			<?php 
foreach ($clients as $client) {
    ?>
			<tbody>
			<tr>
			<td><i class="fa fa-square-o"></i></td>
				<?php 
    foreach ($client as $key => $value) {
        ?>
					<td>
					<?php 
        echo $value;
        ?>
					</td>
				<?php 
    }
    ?>
			</tr>
			</tbody>
			<?php 
}
?>
		</table>
	</div>
<?php 
include_layout_template('footer_private.php');
Esempio n. 9
0
                    </ul>
                    <!-- /#side-menu -->
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>

        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">Blank</h1>
                </div>
                <!-- /.col-lg-12 -->
				<?php 
include_layout_template("admin_registrationform.php");
?>
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- Core Scripts - Include with every page -->
    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>

    <!-- Page-Level Plugin Scripts - Blank -->
Esempio n. 10
0
<!DOCTYPE html>
<html>
<head>
  <title>Photo Gallery</title>
  <link rel="stylesheet" type="text/css" href="css/global.css">
</head>
<body>
  <div id="header">
    <div class="inner">
      <h1>Photo Gallery</h1>
    </div>
  </div>
  <div id="nav">
  <?php 
include_layout_template('nav.php');
?>
  </div>
  <div id="content">
    <div class="inner">
require_once "../../includes/initialize.php";
if (!$session->is_logged_in()) {
    redirect_to("login.php");
}
if (empty($_GET['id'])) {
    $session->message("No photograph ID was provided.");
    redirect_to('index.php');
}
$photo = Photograph::find_by_id($_GET['id']);
if (!$photo) {
    $session->message("The photo could not be located.");
    redirect_to('index.php');
}
$comments = $photo->comments();
include_layout_template('admin_header.php');
?>

<a href="list_photos.php">&laquo; Back</a><br />
<br />

<h2>Comments on <?php 
echo $photo->filename;
?>
</h2>

<?php 
echo output_message($message);
?>
<div id="comments">
    <?php 
Esempio n. 12
0
//add php error log
//Changes to database:
//Made new admin database user whetstone
//Change members table to users, user_id to id, int users.version_id to varchar(7) users.version
//Change versions to version, drop versions.version_id, make version varchar(7), add api tinyint, change desc to name
//Change verses to verse, change verses.verse_id to id, verses.version_id to versions varchar(7), book_id int to book varchar(4), drop everything after version, allow text to be null and make default value null
//Change books to book, drop books.book_id
//Change finishDays to finishDay
//Create card
//When I push it out:
//make changes to database
//chnage config: server, user, pass, name, DEBUG to 0
//change initialize: site_root, url_root
//upload files
//set permissions on directories, make web server owner of logs and give it rw
//Things to note:
//function include_layout_template($template=""){
//function strip_zeros_from_date($marked_string=""){
//function redirect_to($location = NULL){
//Database::escape_value($value) for inserting into the database to escape quotes
//$db->query($sql) to run query, $db->query_debug($sql) to always show sql if it fails
require_once "../includes/initialize.php";
include_layout_template('header');
/*//List of all users
$users = User:: find_all();
foreach($users as $user){
	echo "User: "******"<br/>";
}*/
echo Version::get_versions();
include_layout_template('footer');
Esempio n. 13
0
                <!-- Bottom Bar -->
                <?php 
include_layout_template($pagetype . '/includes/general_bottom_bar');
?>
                
                <!-- Bottom Content -->
                <div class="bottom-content">
                	<?php 
include_layout_template($pagetype . '/includes/general_bottom_content');
?>
                </div>
                
                <!-- Site Footer -->
                <footer>
                    <?php 
include_layout_template($pagetype . '/includes/general_footer');
?>
                </footer>
                
            </div>
            <!-- End of Bottom Section -->
            
        </div>
        <!-- End of Main -->
    	
        
        
        <script src="<?php 
display($dir);
?>
scripts/jquery-1.7.1.js"></script>
Esempio n. 14
0
    $session->message($mesg);
    redirect_to($_SERVER['HTTP_REFERER']);
}
/**$permissions = array('admin');
	try {
		$ac->checkPermissions($permissions);	
	} catch(Exception $e){
		$mesg = $e->getMessage();
		$session->message($mesg);
		redirect_to($_SERVER['HTTP_REFERER']);
	}*/
include_layout_template("admin_header.php");
?>

        <div id="container">
        	<h3>Actions</h3>
        	<div id="side-bar">
		<?php 
$actions = array("create_user" => "Create User", "view_users" => "View Users", "view_roles" => "Roles of Users", "manage_perms" => "Manage Permissions", "view_logs" => "View Logs");
echo create_action_links($actions);
?>
        	</div>
            <div id="main-content">
            
            </div> <!-- main-content -->
        </div> <!-- container -->

<?php 
include_layout_template("../layouts/admin_footer.php");
?>
 
<!DOCTYPE html>
<html>
  <head>
    <title>Photo Gallery: Admin</title>
    <link rel="stylesheet" type="text/css" href="../css/global.css">
  </head>
<body>
  <div id="header">
    <div class="inner">
      <h1>Photo Gallery</h1>
    </div>
  </div>
  <div id="admin-nav">
  <?php 
include_layout_template('admin_nav.php');
?>
  </div>
  <div id="content">
    <div class="inner">