echo $ARnls['time'];
    ?>
						</td>
					</tr>
					<tr>
						<td>
						<?php 
    $wgDateName = 'enddate';
    $wgDate = $enddate;
    include $this->store->get_config('code') . 'widgets/date/js.html';
    include $this->store->get_config('code') . 'widgets/date/form.html';
    ?>
						</td>
						<td>
						<?php 
    input_time('endtime', $this->getdata('endtime', 'none'));
    ?>
						</td>
					</tr>
				</table>
			</fieldset>

			<fieldset id="scenarioeffect">
				<legend><?php 
    echo $ARnls["effect"];
    ?>
</legend>
				<img src="<?php 
    echo $AR->dir->images;
    ?>
dot.gif" alt="" width="1" height="1"><br>
Exemple #2
0
          <?php 
    echo select_date("from");
    ?>
          <?php 
    echo select_date("to");
    ?>
        </fieldset>
        <fieldset class="clear smallround">
          <legend>Time range (seconds)</legend>
          <div id="slider-wrap">
            <div id="slider-range">
              <?php 
    echo input_time("mintime");
    ?>
              <?php 
    echo input_time("maxtime");
    ?>
            </div>
            <p class="center" id="slider-amount"></p>
          </div><!-- end slider-wrap -->
        </fieldset>
        <fieldset class="clear smallround">
          <legend>Action</legend>
          <input type="submit" class="button round" value="Apply filter" />
          <input type="submit" name="reset" class="button round" value="Reset filter" />
			 <?php 
    /*
    // massive bulk function (not implemented)
    if (is_root() && isset($_SESSION['filterquery'])) {
    				echo '<input type="submit" name="delete" class="button round delete conf" value="Delete filtered logs" />';
    }
				</div>
				<div class="form-group input_password_content" style="display:none">
					<input name="password" type="password" class="form-control" placeholder="<?php 
echo _('Nhập mật khẩu để xem bài này');
?>
" value="">
				</div>
				<div class="form-group">
					<label for="status">
						<span class="glyphicon glyphicon-calendar"></span> <?php 
echo _('Thời gian');
?>
					</label>
					<div class="change_content_time">
						<?php 
input_time();
?>
					</div>
					<p class="input_description"><?php 
echo _('Bạn có thể hẹn giờ đăng bài bằng cách chọn thời gian đăng bài trong tương lai');
?>
</p>
				</div>
			</div>
			
			<div class="row admin_sidebar_box">
				<p class="admin_sidebar_box_title"><?php 
echo $args_tax['taxonomy_name'];
?>
</p>
				<ul class="taxnomy_list tree">
if (isset($fields_val['day'])) {
    $field_array['default_value']['day'] = $fields_val['day'];
}
if (isset($fields_val['month'])) {
    $field_array['default_value']['month'] = $fields_val['month'];
}
if (isset($fields_val['year'])) {
    $field_array['default_value']['year'] = $fields_val['year'];
}
if (isset($fields_val['hour'])) {
    $field_array['default_value']['hour'] = $fields_val['hour'];
}
if (isset($fields_val['minute'])) {
    $field_array['default_value']['minute'] = $fields_val['minute'];
}
input_time($field_array);
unset($field_array);
?>
					</div>
					<p class="input_description"><?php 
echo _('Bạn có thể hẹn giờ đăng bài bằng cách chọn thời gian đăng bài trong tương lai');
?>
</p>
				</div>
				<div class="form-group">
					<label for="revision">
						<a href="?run=revision.php&id=<?php 
echo hm_get('id');
?>
">
							<span class="glyphicon glyphicon-repeat"></span> <?php 
Exemple #5
0
function tag_article_custom()
{
    global $step, $endform, $tag_name;
    $atts = gpsa(array('allowoverride', 'author', 'category', 'excerpted', 'form', 'id', 'keywords', 'limit', 'listform', 'month', 'offset', 'pgonly', 'section', 'sort', 'status', 'time'));
    extract($atts);
    $out = form(startTable('tagbuilder') . tr(tdcs(hed(gTxt('tag_' . $tag_name), 3), 2)) . tagRow('id', input_id($id)) . tagRow('status', status_pop($status)) . tagRow('section', section_pop('section', $section)) . tagRow('category', article_category_pop($category)) . tagRow('time', input_time($time)) . tagRow('month', fInput('text', 'month', $month, 'edit', '', '', 7) . ' (' . gTxt('yyyy-mm') . ')') . tagRow('keywords', key_input('keywords', $keywords)) . tagRow('has_excerpt', yesno_pop('excerpted', $excerpted)) . tagRow('author', author_pop($author)) . tagRow('sort', sort_pop($sort)) . tagRow('limit', input_limit($limit)) . tagRow('offset', input_offset($offset)) . tagRow('pgonly', pgonly_pop($pgonly)) . tagRow('allowoverride', yesno2_pop('allowoverride', $allowoverride)) . tagRow('form', form_pop('form', 'article', $form)) . $endform);
    if ($step == 'build') {
        $out .= tdb(tb($tag_name, $atts));
    }
    return $out;
}