%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="main-wapper-inner"> <div class="top-menus"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h3><?php if(@$_GET['edit']) { echo 'Update'; } else { echo 'Create'; } ?> Microsite</h3> </div><!-- /input-group --> </div> </div><!-- /.col-lg-6 --> </div> <div class="home-inners"> <div class="container-fluid"> <div id="users"> <form action="" method="POST" enctype="multipart/form-data"> <div class="modal-body"> <?php if($this->session->flashdata('message')){ echo $this->session->flashdata('message'); } ?> <input type="hidden" name="edit" value="<?= isset($_GET['edit']) ? @$_GET['edit'] : '0' ?>"> <div class="form-group"> <label for="email">Microsite Name <span style="color:red;">*</span></label> <input type="text" name="page_title" placeholder = 'Microsite Name' class="form-control" value="<?= isset($_POST['page_title']) ? $_POST['page_title'] : '' ?>" id="page_title" required> </div> <div class="form-group"> <label for="email">Microsite Url<span style="color:red;">*</span></label> <input type="text" name="page_url" placeholder = 'Course Url' class="form-control" value="<?= isset($_POST['page_url']) ? $_POST['page_url'] : '' ?>" id="page_url" required <?php if($_GET['edit']>0){ echo 'readonly'; }?>> </div> <div class="form-group bordered-group"> <?php if (isset($_POST['logo_image']) && $_POST['logo_image'] != null) { $image = 'upload/microsites/' . $_POST['logo_image']; if (!file_exists($image)) { $image = 'attachments/no-image.png'; } ?> <p>Logo image:</p> <div> <img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:80px; margin-bottom: 5px;"> </div> <input type="hidden" name="old_logo_image" value="<?= $_POST['logo_image'] ?>"> <?php if (isset($_GET['to_lang'])) { ?> <input type="hidden" name="logo_image" id="logo_image" value="<?= $_POST['logo_image'] ?>"> <?php } } ?> <label for="userfile">Inner Logo Image<span style="color:red;">*</span></label> <input type="file" id="logo_image" name="logo_image" /> </div> <div class="form-group bordered-group"> <?php if (isset($_POST['outer_logo_image']) && $_POST['outer_logo_image'] != null) { $image = 'upload/microsites/' . $_POST['outer_logo_image']; if (!file_exists($image)) { $image = 'attachments/no-image.png'; } ?> <p>Website Logo image:</p> <div> <img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:80px; margin-bottom: 5px;"> </div> <input type="hidden" name="old_outer_logo_image" value="<?= $_POST['outer_logo_image'] ?>"> <?php if (isset($_GET['to_lang'])) { ?> <input type="hidden" name="outer_logo_image" id="outer_logo_image" value="<?= $_POST['outer_logo_image'] ?>"> <?php } } ?> <label for="userfile">Website Logo Image<span style="color:red;">*</span></label> <input type="file" id="outer_logo_image" name="outer_logo_image" /> </div> <div class="form-group"> <label for="email">Microsite Owner Id<span style="color:red;">*</span></label> <?php if($su=='2'){ ?> <select name="admin_id" class="form-control" > <option value="0">Select Owner ID</option> <?php foreach($admin_list as $key => $val){ ?> <option value="<?php echo $val['uid'];?>" <?php if($val['uid']==$_POST['admin_id']){ echo 'selected';} ?> ><?php echo $val['email'];?></option> <?php } ?> </select> <?php } else { echo '<p>'.$email.'</p>'; }?> </div> <div class="form-group"> <label for="password">Banner Title<span style="color:red;">*</span></label> <input type="text" name="banner_title" placeholder='Banner Title' class="form-control" value="<?= isset($_POST['banner_title']) ? $_POST['banner_title'] : '' ?>" id="banner_title" required> </div> <div class="form-group"> <label for="password">Banner Button Name<span style="color:red;">*</span></label> <input type="text" name="banner_button" placeholder='Banner Button Name' class="form-control" value="<?= isset($_POST['banner_button']) ? $_POST['banner_button'] : '' ?>" id="banner_button" required> </div> <div class="form-group bordered-group"> <?php if (isset($_POST['banner_image']) && $_POST['banner_image'] != null) { $image = 'upload/microsites/' . $_POST['banner_image']; if (!file_exists($image)) { $image = 'attachments/no-image.png'; } ?> <p>Banner image:</p> <div> <img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:80px; margin-bottom: 5px;"> </div> <input type="hidden" name="old_image" value="<?= $_POST['banner_image'] ?>"> <?php if (isset($_GET['to_lang'])) { ?> <input type="hidden" name="banner_image" id="banner_image" value="<?= $_POST['banner_image'] ?>"> <?php } } ?> <label for="userfile">Banner Image<span style="color:red;">*</span></label> <input type="file" id="banner_image" name="banner_image" /> </div> <div class="form-group"> <label for="email">WebSite Overview<span style="color:red;">*</span></label> <textarea name="overview" id="overview" rows="10" class="form-control" ><?= isset($_POST['overview']) ? $_POST['overview'] : '' ?></textarea> </div> <div class="form-group"> <label for="email">Group<span style="color:red;">*</span></label> <select name="user_group" class="form-control" required> <option value="0">Select Group</option> <?php foreach($group_list as $key => $val){ ?> <option value="<?php echo $val['gid'];?>" <?php if($val['gid']==$_POST['user_group']){ echo 'selected';} ?> ><?php echo $val['group_name'];?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="assign_role">Status<span style="color:red;">*</span></label> <select class="form-control" name="status" id="status" required> <option value=""> -- Select Status -- </option> <option value="1" <?php if(@$_POST['status']=='1') { echo 'selected = "selected"'; }?>>Active</option> <option value="0" <?php if(@$_POST['status']=='0') { echo 'selected = "selected"'; }?>>Inactive</option> </select> </div> <div class="form-group"> <label for="display_order">SEO Title</label> <input type="text" name="seo_title" class="form-control" value="<?= isset($_POST['seo_title']) ? $_POST['seo_title'] : '' ?>" id="SEO Title"> </div> <div class="form-group"> <label for="display_order">SEO Keywords</label> <textarea name="seo_keywords" class="form-control" ><?= isset($_POST['seo_keywords']) ? $_POST['seo_keywords'] : '' ?></textarea> </div> <div class="form-group"> <label for="display_order">SEO Description</label> <textarea name="seo_description" class="form-control" ><?= isset($_POST['seo_description']) ? $_POST['seo_description'] : '' ?></textarea> </div> </div> <div class="modal-footer"> <a href="<?php echo site_url('managemicrosites')?>" class="btn btn-default" >Cancel</a> <input type="submit" class="btn btn-primary" name="submit" id="submit" value="Save"> </div> </form> </div> </div> </div> </div>