Esempio n. 1
0
              タスク期限:<br/>
            <select id="todo_date_year" name="todo_date_year">
                    <?php 
    showOption(2015, 2020, date('Y', $todo_date));
    ?>
                    <label for="todo_date_year">年</label>
            </select>
            <select id="todo_date_month" name="todo_date_month">
                    <?php 
    showOption(1, 12, date('m', $todo_date));
    ?>
                    <label for="todo_date_month">月</label>
            </select>
            <select id="todo_date_day" name="todo_date_day">
                    <?php 
    showOption(1, 31, date('d', $todo_date));
    ?>
                    <label for="todo_date_day">日</label>
            </select>
      </div>

      <div class="container">
                    <label for="memo">備考:</label><br/>
                    <textarea rows = "5" cols = "30" name="memo"  value="<?php 
    print e($row['memo']);
    ?>
" /></textarea>

      </div>

      <div class = "container">
Esempio n. 2
0
showOption(1, 31);
?>
    </select>
    <label for="sdate_date">日</label>
  </div>
  <div class="container">
    開始時間:<br />
    <select id="stime_hour" name="stime_hour">
      <?php 
showOption(0, 23);
?>
    </select>
    <label for="stime_hour">時</label>
    <select id="stime_minute" name="stime_minute">
      <?php 
showOption(0, 59, 15);
?>
    </select>
    <label for="stime_minute">分</label>
  </div>
  <div class="container">
    <label for="memo">備考:</label><br />
    <input type="text" id="memo" name="memo"
      size="70" maxlength="255" />
  </div>
  <input type="submit" value="登録" />
</p>
</form>
</body>
</html>
Esempio n. 3
0
<input type="text" name="questions_per_page" value="<?php 
echo get_option('surveys_questions_per_page');
?>
" id="questions_per_page" size="3" /><br />

<label for="surveys_email"><?php 
e('Send all survey results by email');
?>
</label>
<input type="text" name="email" value="<?php 
echo get_option('surveys_email');
?>
" id="email" /><br />

<?php 
showOption('insert_csv_header', 'Insert the questions of the survey as the first line(header) in CSV export');
?>

<p class="submit">
<input type="hidden" id="user-id" name="user_ID" value="<?php 
echo (int) $user_ID;
?>
" />
<span id="autosave"></span>
<input type="submit" name="submit" value="<?php 
e('Save Options');
?>
" style="font-weight: bold;" />
</p>

</form>
Esempio n. 4
0
			<div class="nav-wrapper">
				 <a href="#" class="brand-logo center-align">&nbsp; &nbsp;#LetMADBreathe</a>
				 <ul id="nav-mobile" class="right hide-on-med-and-down">
				 </ul>
			</div>
		</nav>
	</div>

	<div class="container">

	<div class="row">  
		<form method="post" action="">
		<?php 
showOption("view_level", $all_view_levels, $view_level, "View Level");
showOption("timeframe", $all_timeframes, $timeframe, "Timeframe");
showOption("vertical_id", $all_verticals, $vertical_id, 'Vertical');
?>



		<div class="col offset-s4 s8 m3">
			<br/><br/><br/>
			<button class="btn waves-effect waves-light" type="submit" name="action">Submit
				<i class="material-icons right">send</i>
			</button>
			</div>

		</form>
	</div>
	
	<div class="row">
Esempio n. 5
0
				 <ul id="nav-mobile" class="right hide-on-med-and-down">
				 </ul>
			</div>
		</nav>
	</div>

	<div class="container">

	<div class="row">  
		<form method="post" action="">
		<?php 
showOption("view_level", $all_view_levels, $view_level, "View Level");
showOption("timeframe", $all_timeframes, $timeframe, "Timeframe");
showOption("state_id", $all_states, $state_id, 'Region');
showOption("city_id", $all_cities, $city_id, 'City');
showOption("group_id", array(), $group_id, 'Center');
// showOption("coach_id", array(), $coach_id, 'Coach');
?>



		<div class="col offset-s4 s8 m3">
			<br/><br/><br/>
			<button class="btn waves-effect waves-light" type="submit" name="action">Submit
				<i class="material-icons right">send</i>
			</button>
			</div>

		</form>
	</div>
	
Esempio n. 6
0
<form action="<?php 
echo $GLOBALS['wpframe_plugin_folder'];
?>
/export.php" method="post">
<p><?php 
e("Select the fields you want to export...");
?>
</p>

<?php 
showOption('survey_id', 'ID');
showOption('added_on', 'Date');
showOption('name', 'Name');
showOption('email', 'Email');
showOption('answers', 'Answers');
?>

<p class="submit">
<input type="hidden" id="survey" name="survey" value="<?php 
echo (int) $_REQUEST['survey'];
?>
" />

<input type="submit" name="submit" value="<?php 
e('Export');
?>
" style="font-weight: bold;" />
</p>

</form>
Esempio n. 7
0
<form action="<?php 
echo $GLOBALS['wpframe_plugin_folder'];
?>
/export.php" method="post">
<p><?php 
e("Select the fields you want to export...");
?>
</p>

<?php 
showOption('id', 'ID');
showOption('name', 'Name');
showOption('url', 'Site URL');
showOption('email', 'Email');
showOption('phone', 'Phone');
?>

<p class="submit">
<input type="hidden" id="event" name="event" value="<?php 
echo (int) $_REQUEST['event'];
?>
" />
<span id="autosave"></span>
<input type="submit" name="submit" value="<?php 
e('Export');
?>
" style="font-weight: bold;" />
</p>

</form>
Esempio n. 8
0
              タスク期限:<br/>
              <select id="todo_date_year" name="todo_date_year">
                      <?php 
showOption(2015, 2020, date('Y', $sdate));
?>
                      <label for="todo_date_year">年</label>
              </select>
              <select id="todo_date_month" name="todo_date_month">
                      <?php 
showOption(1, 12, date('n', $sdate));
?>
                      <label for="todo_date_month">月</label>
              </select>
              <select id="todo_date_day" name="todo_date_day">
                      <?php 
showOption(1, 31, date('j', $sdate));
?>
                      <label for="todo_date_day">日</label>
              </select>
      </div>

      <div class="remarks">
        <label for="remarks" >備考:</label><br/>
        <textarea rows = "5" cols = "30" name="memo"  /></textarea>
      </div>

      <div class = "container">
            <label for  = "prime" >優先度</label><br/>
            低<input type = "range"  name = "prime" value = "1" min = "1" max = "5" step = "1">高
      </div>
Esempio n. 9
0
function getChildPages($id, $pageForPosts, $pageOnFront)
{
    global $motopressSettings;
    global $wooActive;
    global $jigoActive;
    global $wooPages;
    global $onlyJigoPages;
    $childs = get_pages(array('child_of' => $id, 'parent' => $id, 'sort_column' => 'menu_order'));
    foreach ($childs as $child) {
        $file = get_post_meta($child->ID, '_wp_page_template', true);
        $hideTemplate = false;
        $frontPage = false;
        if (array_key_exists($child->ID, $onlyJigoPages)) {
            continue;
        } elseif (array_key_exists($child->ID, $wooPages)) {
            if ($wooActive) {
                if (strpos($wooPages[$child->ID], 'logout')) {
                    continue;
                } elseif (strpos($wooPages[$child->ID], 'shop')) {
                    $hideTemplate = true;
                    if (file_exists($motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/woocommerce.php')) {
                        update_post_meta($child->ID, '_wp_page_template', '_woocommerce.php');
                        $file = 'woocommerce.php';
                    } elseif (file_exists($motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/archive-product.php')) {
                        $file = 'archive-product.php';
                    } elseif (file_exists($motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/woocommerce/archive-product.php')) {
                        $file = 'woocommerce/archive-product.php';
                    } else {
                        getChildPages($child->ID, $pageForPosts, $pageOnFront);
                        continue;
                    }
                } else {
                    if (empty($file) || $file == 'default') {
                        $file = 'page.php';
                    }
                }
            } elseif ($jigoActive) {
                continue;
            }
        } else {
            if ($child->ID == $pageForPosts) {
                $file = 'index.php';
                $hideTemplate = true;
            } else {
                $filePath = $motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/' . $file;
                if (empty($file) || $file == 'default' || !file_exists($filePath)) {
                    $slugFile = 'page-' . $child->post_name . '.php';
                    $slugPath = $motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/' . $slugFile;
                    $idFile = 'page-' . $child->ID . '.php';
                    $idPath = $motopressSettings['theme_root'] . '/' . $motopressSettings['current_theme'] . '/' . $idFile;
                    if (file_exists($slugPath)) {
                        $file = $slugFile;
                    } else {
                        if (file_exists($idPath)) {
                            $file = $idFile;
                        } else {
                            $file = 'page.php';
                        }
                    }
                }
            }
        }
        if ($child->ID == $pageOnFront) {
            $frontPage = true;
        }
        showOption(get_page_link($child->ID), $file, $child->ID, $hideTemplate, $frontPage, $child->post_title);
        getChildPages($child->ID, $pageForPosts, $pageOnFront);
    }
}
Esempio n. 10
0
<?php 
showOption('url_show', 'Show the Website URL Field');
showOption('url_mandatory', 'A URL must be entered');
?>
</div></div>

<div class="postbox">
<h3 class="hndle"><span><?php 
e('Image Upload');
?>
</span></h3>
<div class="inside">
<?php 
showOption('image_show', 'Show the Image Upload Field');
showOption('image_mandatory', 'Make sure that the user uploads an image');
showOption('image_list', 'List image field in the list in the attendees page');
?>
</div></div>

</div></div>

<p class="submit">
<input type="hidden" id="user-id" name="user_ID" value="<?php 
echo (int) $user_ID;
?>
" />
<span id="autosave"></span>
<input type="submit" name="submit" value="<?php 
e('Save Options');
?>
" style="font-weight: bold;" />