?>
</td>
                                    <td><?php 
    echo $val->title;
    ?>
</td>
                                    <td><?php 
    echo character_limiter($val->description, 80);
    ?>
</td>

                                    <td class="hidden-phone"><?php 
    if (!empty($val->image)) {
        ?>
                                            <img src="<?php 
        echo BASE_URL('../assets/uploads/enquiry/thumb_' . $val->image);
        ?>
" height="78"/>
                                        <?php 
    }
    ?>
                                    </td>
                                    <td class="center hidden-phone"><?php 
    if ($val->url) {
        ?>
<a href="http://youtube.com/watch?v=<?php 
        echo $val->url;
        ?>
" target="_blank">Watch Video</a><?php 
    }
    ?>
Beispiel #2
0
<div class="clearBoth"/>

    <h1>Lista Buletine</h1>
    <br />

    <div class="row">
        <div class="col-md-1">
            <a href="<?php 
echo BASE_URL();
?>
index.php/admin/adauga-buletin">
                <button type="button" class="btn btn-default btn-md">
                    <span class="glyphicon glyphicon-plus"></span> Adauga
                </button>
            </a>
        </div>
    </div>
    <br/>
    <table class="table table-striped table-hover table-bordered centerHead" >
        <thead>
        <tr class="success" >
            <th>
                Titlu
            </th>
            <th>
                Data
            </th>
            <th>
                Fisier
            </th>
            <th>
echo display_ckeditor($ckeditor);
?>
                                            </td>
                                            <td></td>
                                        </tr>
                                        <?php 
if ($method == 'edit') {
    ?>
                                            <tr>
                                                <th valign="top">Old Image:</th>
                                                <td>
                                                    <?php 
    if (is_file(realpath('../assets/uploads/events/' . $editData->old_image))) {
        ?>
                                                        <img src="<?php 
        echo BASE_URL('../assets/uploads/events/thumb_' . $editData->old_image);
        ?>
" height="78" class="img-polaroid img-rounded pull-left"/>
                                                    <?php 
    }
    ?>
                                                </td>
                                                <td></td>
                                            </tr>
                                        <?php 
}
?>
                                        <tr>
                                            <th>Image:</th>
                                            <td><input type="file" class="file_1" name="image"  value="<?php 
echo @$_POST['image'] ? $_POST['image'] : $editData->image;
BASE_URL();
?>
expediente"><i class="fa fa-circle-o"></i> Departamento Judicial</a></li>
				   <li><a href="<?php 
BASE_URL();
?>
expediente_masivo"><i class="fa fa-circle-o"></i> Departamento Psicosocial</a></li>
               </ul>
            </li>
            <li class="treeview">
              <a href="#">
                  <i class="fa fa-folder"></i> <span>Contraseña</span> <i class="fa fa-angle-left pull-right"></i>
               </a>
               <ul class="treeview-menu">
			       <li><a href="<?php 
BASE_URL();
?>
usuario"><i class="fa fa-circle-o"></i> Cambio contraseña</a></li>
              </ul>
            </li>
          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>

      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            
?>
Inactive
                                            </td>
                                            <td></td>
                                        </tr>
                                        <?php 
if ($method == 'edit') {
    ?>
                                            <tr>
                                                <th valign="top">Old Image:</th>
                                                <td>
                                                    <?php 
    if (is_file(realpath('../assets/uploads/cms/' . $cmsdetail->old_image))) {
        ?>
                                                        <img src="<?php 
        echo BASE_URL('../assets/uploads/cms/thumb_' . $cmsdetail->old_image);
        ?>
" height="78"/>
                                                    <?php 
    }
    ?>
                                                </td>
                                                <td></td>
                                            </tr>
                                        <?php 
}
?>
                                        <tr>
                                            <th>Image:</th>
                                            <td><input type="file" class="file_1" name="image"  value="<?php 
echo @$_POST['image'] ? $_POST['image'] : $cmsdetail->image;
                          <td align="center"><span class="center">
                            <input type="checkbox" id="id[]" name="id[]" value="<?php 
    echo $val->id;
    ?>
" />
                          </span></td>
                            <td><?php 
    echo $val->title;
    ?>
</td>
                            <td><?php 
    echo character_limiter($val->description, 180);
    ?>
</td>
                            <td><img src="<?php 
    echo BASE_URL('../assets/uploads/tab/thumb_' . $val->image);
    ?>
" height="78"/></td>
                            <td><?php 
    echo $val->category;
    ?>
</td>
                            <td>
                                <a href="<?php 
    echo base_url();
    ?>
index.php/tab/changestatus/<?php 
    echo $val->status == 1 ? 'deactivate' : 'activate';
    ?>
/<?php 
    echo $val->id;
?>
" class="form-control" data-validate="required" data-message-required="This is required field."/>
                    </div>
                </div>

                <?php 
if ($method == 'edit' && $editData->image) {
    ?>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">Old image</label>
                        <div class="col-sm-5">
                            <?php 
    if (is_file(realpath('../assets/uploads/enquiry/' . $editData->image))) {
        ?>
                                <img src="<?php 
        echo BASE_URL('../assets/uploads/enquiry/thumb_' . $editData->image);
        ?>
" height="78" class="pull-left"/>
                            <?php 
    }
    ?>
                                <?php 
    echo anchor('enquiry/delete_image_only/' . $editData->id, 'Delete Image', array('onclick' => "return confirm('Are you sure?')", 'class' => "color-red"));
    ?>

                        </div>
                    </div>
                <?php 
}
?>
Beispiel #8
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$config['items'] = <<<_EOM
Home,
Sites,sites
Staff,staff
Schedule,schedule
\tList, schedule
\tAssignment, schedule/assignment
Timesheets,home
Reports,home
\tPayroll, home
\tTimesheet, home
\tBlank Page, home/blank
Status,work_status
\tWork Status, work_status
\tReply Status, reply_status
Web Site, users
\tUsers,users
System,home
\tDatabase Backup,dbbackup
\tDatabase Upgrade,dbupgrade
\tControl, system_control

_EOM;
$config['base_url'] = 'admin/';
$config['ddsmooth_plugin'] = array('image_folder' => BASE_URL() . 'images/admin/ddsmooth_menu', 'icon_folder' => BASE_URL() . 'images/admin/menu_icons', 'show_icons' => true, 'is_vertical_view' => false, 'icon_class' => 'ddsmooth_icon');
?>
" >
                                                 
                                        </div> -->
                                    </div> 
                                    <div class="row">                                        
<!--                                        <div class="col-sm-6" id="img_3"> 
                                            <Img src = "<?php 
echo BASE_URL('/assets/img/barcode.jpg');
?>
" >
                                                
                                        </div>-->
<!--                                        <div class="col-sm-6" id="img_4"> 
                                            <Img src = "<?php 
echo BASE_URL('/assets/img/barcode.jpg');
?>
" >
                                                
                                        </div> -->
                                    </div> 
                                </div>
 
                        
                              
                    </div>             
                    <div class="form-group ">
                            <button type="button" id="pdf" class="btn btn-primary col-md-offset-9"  value="">Print </button>
                        </div><!---->
                       
                </row>
Beispiel #10
0
 public function get_default_config()
 {
     $result = array('image_folder' => BASE_URL() . 'images/admin/ddsmooth_menu', 'icon_folder' => BASE_URL() . 'images/admin/menu_icons', 'show_icons' => false, 'is_vertical_view' => false, 'image_class' => '');
     return $result;
 }
                <span class="field"><input type="text" name="slug" id="slug" value="<?php 
echo @$_POST['slug'] ? $_POST['slug'] : $editData->slug;
?>
" class="longinput" /></span>
            </p>
              <?php 
if ($method == 'edit') {
    ?>
             <p>
                <label>Old Image</label>
                <span class="field">
                <?php 
    if (is_file(realpath('../assets/uploads/gallery/' . $old_image))) {
        ?>
                    <img src="<?php 
        echo BASE_URL('../assets/uploads/tab/thumb_' . $old_image);
        ?>
" height="78" class="img-polaroid img-rounded pull-left"/>
                <?php 
    }
    ?>
                </span>
            </p>
            <?php 
}
?>
            <p>
                <label>Cover Image:</label>
                <span class="field">
                    <input type="file" class="file_1" name="image"  value="<?php 
echo @$_POST['image'] ? $_POST['image'] : $editData->image;