ok
Direktori : /proc/self/root/home2/selectio/www/srivarielevators.net/application/views/admin/ |
Current File : //proc/self/root/home2/selectio/www/srivarielevators.net/application/views/admin/view_page.php |
<?php if(!$this->session->userdata('id')) { redirect(base_url().'admin/login'); } ?> <section class="content-header"> <div class="content-header-left"> <h1>Page Section</h1> </div> </section> <section class="content" style="min-height:auto;margin-bottom: -30px;"> <div class="row"> <div class="col-md-12"> <?php if($error): ?> <div class="callout callout-danger"> <p> <?php echo $error; ?> </p> </div> <?php endif; ?> <?php if($success): ?> <div class="callout callout-success"> <p><?php echo $success; ?></p> </div> <?php endif; ?> </div> </div> </section> <section class="content"> <div class="row"> <div class="col-md-12"> <div class="nav-tabs-custom"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab_1" data-toggle="tab">Home</a></li> <li><a href="#tab_2" data-toggle="tab">About</a></li> <li><a href="#tab_3" data-toggle="tab">Gallery</a></li> <li><a href="#tab_4" data-toggle="tab">FAQ</a></li> <li><a href="#tab_5" data-toggle="tab">Service</a></li> <li><a href="#tab_6" data-toggle="tab">Portfolio</a></li> <li><a href="#tab_7" data-toggle="tab">Testimonial</a></li> <li><a href="#tab_8" data-toggle="tab">News</a></li> <li><a href="#tab_9" data-toggle="tab">Contact</a></li> <li><a href="#tab_10" data-toggle="tab">Search</a></li> <li><a href="#tab_11" data-toggle="tab">Terms</a></li> <li><a href="#tab_12" data-toggle="tab">Privacy</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab_1"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_home" class="form-control" value="<?php echo $page['mt_home']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_home" style="height:60px;"><?php echo $page['mk_home']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_home" style="height:60px;"><?php echo $page['md_home']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_home">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_2"> <h3 class="seo-info">Photo Section</h3> <?php echo form_open_multipart(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <input type="hidden" name="current_about_photo" value="<?php echo $page['about_photo']; ?>"> <div class="form-group"> <label for="" class="col-sm-2 control-label">Existing Photo </label> <div class="col-sm-9"> <?php if($page['about_photo'] == ''): ?> <div style="padding-top:6px;color:red;">No Photo Found</div> <?php else: ?> <img src="<?php echo base_url(); ?>public/uploads/<?php echo $page['about_photo']; ?>" style="width:300px;"> <br> <a href="<?php echo base_url(); ?>admin/page/delete_about_photo" class="btn btn-danger btn-xs" onClick="return confirm('Are you sure?');">Delete Photo</a> <?php endif; ?> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Change Photo </label> <div class="col-sm-6"> <input type="file" name="about_photo" class="form-control"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_about_photo">Update Photo</button> </div> </div> <?php echo form_close(); ?> <h3 class="seo-info">Other Information Section</h3> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">About Heading </label> <div class="col-sm-6"> <input type="text" name="about_heading" class="form-control" value="<?php echo $page['about_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">About Content </label> <div class="col-sm-9"> <textarea name="about_content" class="form-control" cols="30" rows="10" id="editor1"><?php echo $page['about_content']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Mission Heading </label> <div class="col-sm-6"> <input type="text" name="mission_heading" class="form-control" value="<?php echo $page['mission_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Mission Content </label> <div class="col-sm-9"> <textarea name="mission_content" class="form-control" cols="30" rows="10" id=""><?php echo $page['mission_content']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Vision Heading </label> <div class="col-sm-6"> <input type="text" name="vision_heading" class="form-control" value="<?php echo $page['vision_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Vision Content </label> <div class="col-sm-9"> <textarea name="vision_content" class="form-control" cols="30" rows="10" id=""><?php echo $page['vision_content']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_about" class="form-control" value="<?php echo $page['mt_about']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_about" style="height:60px;"><?php echo $page['mk_about']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_about" style="height:60px;"><?php echo $page['md_about']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_about">Update Information</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_3"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">About Heading </label> <div class="col-sm-6"> <input type="text" name="gallery_heading" class="form-control" value="<?php echo $page['gallery_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_gallery" class="form-control" value="<?php echo $page['mt_gallery']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_gallery" style="height:60px;"><?php echo $page['mk_gallery']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_gallery" style="height:60px;"><?php echo $page['md_gallery']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_gallery">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_4"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">FAQ Heading </label> <div class="col-sm-6"> <input type="text" name="faq_heading" class="form-control" value="<?php echo $page['faq_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_faq" class="form-control" value="<?php echo $page['mt_faq']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_faq" style="height:60px;"><?php echo $page['mk_faq']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_faq" style="height:60px;"><?php echo $page['md_faq']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_faq">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_5"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Service Heading </label> <div class="col-sm-6"> <input type="text" name="service_heading" class="form-control" value="<?php echo $page['service_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_service" class="form-control" value="<?php echo $page['mt_service']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_service" style="height:60px;"><?php echo $page['mk_service']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_service" style="height:60px;"><?php echo $page['md_service']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_service">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_6"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Portfolio Heading </label> <div class="col-sm-6"> <input type="text" name="portfolio_heading" class="form-control" value="<?php echo $page['portfolio_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_portfolio" class="form-control" value="<?php echo $page['mt_portfolio']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_portfolio" style="height:60px;"><?php echo $page['mk_portfolio']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_portfolio" style="height:60px;"><?php echo $page['md_portfolio']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_portfolio">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_7"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Testimonial Heading </label> <div class="col-sm-6"> <input type="text" name="testimonial_heading" class="form-control" value="<?php echo $page['testimonial_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_testimonial" class="form-control" value="<?php echo $page['mt_testimonial']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_testimonial" style="height:60px;"><?php echo $page['mk_testimonial']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_testimonial" style="height:60px;"><?php echo $page['md_testimonial']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_testimonial">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_8"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">News Heading </label> <div class="col-sm-6"> <input type="text" name="news_heading" class="form-control" value="<?php echo $page['news_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_news" class="form-control" value="<?php echo $page['mt_news']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_news" style="height:60px;"><?php echo $page['mk_news']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_news" style="height:60px;"><?php echo $page['md_news']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_news">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_9"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Contact Heading </label> <div class="col-sm-6"> <input type="text" name="contact_heading" class="form-control" value="<?php echo $page['contact_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_contact" class="form-control" value="<?php echo $page['mt_contact']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_contact" style="height:60px;"><?php echo $page['mk_contact']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_contact" style="height:60px;"><?php echo $page['md_contact']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_contact">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_10"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Search Heading </label> <div class="col-sm-6"> <input type="text" name="search_heading" class="form-control" value="<?php echo $page['search_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_search" class="form-control" value="<?php echo $page['mt_search']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_search" style="height:60px;"><?php echo $page['mk_search']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_search" style="height:60px;"><?php echo $page['md_search']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_search">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_11"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Term & Condition Heading </label> <div class="col-sm-6"> <input type="text" name="term_heading" class="form-control" value="<?php echo $page['term_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Term & Condition Content </label> <div class="col-sm-9"> <textarea name="term_content" class="form-control" cols="30" rows="10" id="editor2"><?php echo $page['term_content']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_term" class="form-control" value="<?php echo $page['mt_term']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_term" style="height:60px;"><?php echo $page['mk_term']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_term" style="height:60px;"><?php echo $page['md_term']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_term">Update</button> </div> </div> <?php echo form_close(); ?> </div> <div class="tab-pane" id="tab_12"> <?php echo form_open(base_url().'admin/page/update',array('class' => 'form-horizontal')); ?> <div class="form-group"> <label for="" class="col-sm-2 control-label">Privacy Policy Heading </label> <div class="col-sm-6"> <input type="text" name="privacy_heading" class="form-control" value="<?php echo $page['privacy_heading']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Privacy Policy Content </label> <div class="col-sm-9"> <textarea name="privacy_content" class="form-control" cols="30" rows="10" id="editor3"><?php echo $page['privacy_content']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Title </label> <div class="col-sm-9"> <input type="text" name="mt_privacy" class="form-control" value="<?php echo $page['mt_privacy']; ?>"> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Keyword </label> <div class="col-sm-9"> <textarea class="form-control" name="mk_privacy" style="height:60px;"><?php echo $page['mk_privacy']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label">Meta Description </label> <div class="col-sm-9"> <textarea class="form-control" name="md_privacy" style="height:60px;"><?php echo $page['md_privacy']; ?></textarea> </div> </div> <div class="form-group"> <label for="" class="col-sm-2 control-label"></label> <div class="col-sm-6"> <button type="submit" class="btn btn-success pull-left" name="form_privacy">Update</button> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </form> </div> </div> </section>