コード例 #1
0
ファイル: add_new.php プロジェクト: cometnice/ILM-Data-Drive
?>
" value="<?php 
echo $this->input->post($element);
?>
">
      </div>
    </div>
    <div class="form-group">
      <?php 
$element = "active";
?>
      <label for="<?php 
echo $element;
?>
" class="col-sm-2 control-label no-padding-right"> <?php 
echo string_filter($element);
?>
: </label>
      <div class="col-sm-9">
        <label>
          <input type="checkbox" class="ace ace-switch ace-switch-4 btn-flat" id="<?php 
echo $element;
?>
" name="<?php 
echo $element;
?>
" checked="checked">
          <span class="lbl"></span> </label>
      </div>
    </div>
    <div class="clearfix form-actions">
コード例 #2
0
    function addpathmember($path,$member,$rights)
        {
        $result=FALSE;
        $path  =string_filter($path,FILTER_URL);
        $rights=string_filter($rights,FILTER_NUMBER);

        //Ein User ?
        if ($this->userexists($member))
            {
            $this->pathgroups[$path][$member]=$rights;
            $result=TRUE;
            }

        //Eine Gruppe ?
        if ($this->groupexists($member))
            {
            $this->pathgroups[$path]["@".$member]=$rights;

            $result=TRUE;
            }

        return($result);
        }
コード例 #3
0
ファイル: personal.php プロジェクト: cometnice/ILM-Data-Drive
echo avatar($value);
?>
" style="max-width:334px;" /> </div>
  </div>
  <?php 
$fieldname = "about";
?>
  <?php 
$value = $users->{$fieldname};
?>
  <div class="form-group">
    <label for="<?php 
echo $fieldname;
?>
" class="col-sm-3 control-label no-padding-right"> <?php 
echo string_filter($fieldname);
?>
 </label>
    <div class="col-sm-9">
      <textarea rows="7" cols="36" name="<?php 
echo $fieldname;
?>
"><?php 
echo $value;
?>
</textarea>
    </div>
  </div>
  <div class="clearfix form-actions">
    <div class="col-md-offset-3 col-md-9">
      <button type="submit" class="btn btn-info"> <i class="ace-icon fa fa-check bigger-110"></i> Submit </button>
コード例 #4
0
      <?php 
}
?>
      <?php 
if ($this->uri->segment(2) != "") {
    ?>
      <span class="divider"> <i class="icon-angle-right arrow-icon"></i> </span>
      <?php 
}
?>
    </li>
    <?php 
if ($this->uri->segment(2) != "") {
    ?>
    <li class="active"><?php 
    echo string_filter($this->uri->segment(2));
    ?>
</li>
    <?php 
}
?>
  </ul>
  <!-- /.breadcrumb -->
  
  <?php 
include APPPATH . 'views/inc/top-search.php';
?>
  <!-- /.nav-search --> 
</div>
<?php 
if ($user->user_rights != 1) {
コード例 #5
0
ファイル: add_new.php プロジェクト: cometnice/ILM-Data-Drive
</option>
          <?php 
        }
        ?>
          <?php 
    }
    ?>
        </select>
      </div>
    </div>
    <?php 
}
?>
    <div class="form-group">
      <label for="subject_id" class="col-sm-2 control-label no-padding-right"> <?php 
echo string_filter("Subjects");
?>
: </label>
      <div class="col-xs-10" id="get_subjects">
        <select class="chzn-select col-xs-10 col-sm-3" data-placeholder="Choose a subject..." style="max-width: 240px;" id="subject_id" name="subject_id">
          <option value=""></option>
          <?php 
if ($subjects->num_rows() > 0) {
    ?>
          <?php 
    foreach ($subjects->result() as $data) {
        ?>
          <option value="<?php 
        echo $data->id;
        ?>
" <?php