Ejemplo n.º 1
0
<a class="bottom donate button" href="/donate"><?php 
echo translate_button('donate');
?>
</a>
<div class="clear"></div>
Ejemplo n.º 2
0
echo $dob != '' ? 'readonly disabled' : '';
?>
 value="<?php 
echo $dob != '' ? date('Y-m-d', strtotime($dob)) : '';
?>
" autocomplete="off" spellcheck="false" />
			<div id="help_dob" class="help">YYYY-MM-DD</div>
		</div>
		<div class="m-btn-group" id="dob_control_bar">
			<a tabindex="6" class="m-btn blue button_changeable" id="home_page" href="/<?php 
echo isset($hide_lang_bar) && isset($hide_nav) ? $lang_code . '/' : '';
?>
"><i class="icon-home icon-white"></i> <?php 
echo translate_button('home_page');
?>
</a>
			<a tabindex="5" class="m-btn blue button_changeable" id="dob_erase"><i class="icon-erase icon-white"></i> <?php 
echo translate_button('dob_erase');
?>
</a>
			<a tabindex="3" class="m-btn green" id="dob_submit"><i class="icon-play icon-white"></i> <?php 
echo translate_button('dob_submit');
?>
</a>
		</div>
	</form>
	<div class="clear"></div>
</div>
<!--
<div id="help_dob_form" class="help"><i class="m-icon-white"></i></div>
-->
Ejemplo n.º 3
0
<a class="top donate button" href="/donate"><?php 
echo translate_button('donate');
?>
 <?php 
echo translate_button('donate_reason');
?>
</a>
Ejemplo n.º 4
0
		</section>
		<section class="app">
			<h4 class="apps lunar">Xem ngày tốt xấu</h4>
			<a target="_blank" id="android_lunar" href="https://play.google.com/store/apps/details?id=vn.nhipsinhhoc.xemngay"></a>
		</section>
	</section>
	<section class="apps">
		<h3 class="apps">Windows Phone</h3>
		<a target="_blank" id="windows_phone" href="http://www.windowsphone.com/s?appid=c1cbcc2d-0565-41dd-956e-28e48406e401"></a>
	</section>
<?php 
if ($ad_position == 2) {
    include template('banner_336x280');
}
?>
	<button class="install-btn" onclick="chrome.webstore.install()" id="chrome_install"><?php 
echo translate_button('install_chrome');
?>
</button>
	<button class="install-btn" id="firefox_install"><?php 
echo translate_button('install_firefox');
?>
</button>
	<script src="/min/f=js/install.js&amp;7"></script>
<?php 
include template('alexa');
if ($ad_position == 3) {
    include template('banner_336x280');
}
?>
</div>
Ejemplo n.º 5
0
echo $input_interfaces['dob']['ru'];
?>
" data-lang-en="<?php 
echo $input_interfaces['dob']['en'];
?>
" data-lang-vi="<?php 
echo $input_interfaces['dob']['vi'];
?>
" placeholder="<?php 
echo $input_interfaces['dob'][$lang_code];
?>
" id="dob" type="text" name="person_dob" size="10" maxlength="128" class="required m-wrap translate" autocomplete="off" spellcheck="false" />
			<div id="help_dob" class="help">YYYY-MM-DD</div>
		</div>
		<div class="m-btn-group" id="dob_control_bar">
			<a tabindex="5" class="m-btn blue button_changeable" id="dob_list"><i class="icon-list icon-white"></i> <?php 
echo translate_button('dob_list');
?>
</a>
			<a tabindex="4" class="m-btn blue button_changeable" id="dob_erase"><i class="icon-erase icon-white"></i> <?php 
echo translate_button('dob_erase');
?>
</a>
			<a tabindex="3" class="m-btn green" id="dob_create"><i class="icon-plus icon-white"></i> <?php 
echo translate_button('dob_create');
?>
</a>
		</div>
	</form>
	<div class="clear"></div>
</div>
Ejemplo n.º 6
0
		<option>25</option>
		<option>30</option>
		<option>35</option>
		<option>40</option>
		<option>45</option>
		<option>50</option>
		<option>55</option>
	</select>
	<div>
		<p><?php 
echo translate_span('sleep_time_results');
?>
</p>
		<span id="sleep_time_results"></span>
	</div>
	<p><?php 
echo translate_span('wake_up_time_head');
?>
</p>
	<a class="m-btn green" id="sleep_now"><?php 
echo translate_button('sleep_now');
?>
</a>
	<div>
		<p><?php 
echo translate_span('wake_up_time_results');
?>
</p>
		<span id="wake_up_time_results"></span>
	</div>
</section>
Ejemplo n.º 7
0
</a></li>
		<li><a id="apps_link" class="nav_button button apps keep" href="javascript:void(0);"><?php 
echo translate_button('apps');
?>
</a></li>
		<li><a id="blog_link" class="nav_button button keep" href="/blog/"><?php 
echo translate_button('blog');
?>
</a></li>
		<li><a id="forum_link" class="nav_button button keep" href="http://diendan.nhipsinhhoc.vn"><?php 
echo translate_button('forum');
?>
</a></li>
		<li><a id="bmi_link" class="nav_button button bmi keep" href="/bmi/"><?php 
echo translate_button('bmi');
?>
</a></li>
		<li><a id="lunar_link" class="nav_button button lunar" href="/xemngay/"><?php 
echo translate_button('lunar');
?>
</a></li>
		<li><a target="_blank" id="survey_link" class="nav_button button survey" href="http://bit.ly/khaosat_nsh"><?php 
echo translate_button('survey');
?>
</a></li>
		<li><a id="game_link" class="nav_button button game keep" href="/game/"><?php 
echo translate_button('game');
?>
</a></li>
	</ul>
</nav>
Ejemplo n.º 8
0
?>
" data-lang-ru="<?php 
echo $button_interfaces['update']['ru'];
?>
" data-lang-en="<?php 
echo $button_interfaces['update']['en'];
?>
" data-lang-vi="<?php 
echo $button_interfaces['update']['vi'];
?>
" value="<?php 
echo $button_interfaces['update'][$lang_code];
?>
" />
	<a id="member_logout" class="m-btn blue button_changeable" href="/triggers/member_logout.php"><i class="icon-log-out icon-white"></i> <?php 
echo translate_button('logout');
?>
</a>
<?php 
if (isset($_POST['member_profile_submit'])) {
    if ($member_profile_errors) {
        echo '<span class="error">' . implode('<br />', $member_profile_errors) . '</span>';
    }
}
?>
</form>
<script>
maskField('#member_profile_dob');
disableHyphen('member_profile_dob');
$('#profile_form').on('click', '#change_pass', function(){
	$('.pass.hide').removeClass('hide');
Ejemplo n.º 9
0
<nav>
	<ul id="nav_buttons">
		<li><a id="member_link" class="nav_button button member" href="/member/login/"><i class="icon-<?php 
echo isset($_COOKIE['NSH:member']) ? 'user' : 'log-in';
?>
"></i> <?php 
echo isset($_COOKIE['NSH:member']) ? translate_button('profile') : translate_button('login');
?>
</a></li>
	</ul>
</nav>
Ejemplo n.º 10
0
<a class="bottom sponsor button" href="/sponsor"><?php 
echo translate_button('sponsor');
?>
</a>
<div class="clear"></div>
Ejemplo n.º 11
0
<div id="register_modal">
	<p><?php 
echo translate_span('register_modal');
?>
</p>
	<a class="m-btn green" href="/member/register/" tabindex="4"><?php 
echo translate_button('register');
?>
</a>
</div>
<script>
manipulateRegisterModal();
</script>
Ejemplo n.º 12
0
<a class="top sponsor button" href="/sponsor"><?php 
echo translate_button('sponsor');
?>
 <?php 
echo translate_button('sponsor_reason');
?>
</a>
Ejemplo n.º 13
0
echo $input_interfaces['dob']['en'];
?>
" data-lang-vi="<?php 
echo $input_interfaces['dob']['vi'];
?>
" placeholder="<?php 
echo $input_interfaces['dob'][$lang_code];
?>
" id="dob" type="text" name="person_dob" size="10" maxlength="128" class="required m-wrap translate" autocomplete="off" spellcheck="false" value="<?php 
echo $dob != '' ? date('Y-m-d', strtotime($dob)) : '';
?>
" />
			<div id="help_dob" class="help">YYYY-MM-DD</div>
		</div>
		<div class="m-btn-group" id="dob_control_bar">
			<a tabindex="5" class="m-btn blue button_changeable" id="dob_list"><i class="icon-list icon-white"></i> <?php 
echo translate_button('dob_list');
?>
</a>
			<a tabindex="4" class="m-btn blue button_changeable" id="dob_remove"><i class="icon-bin icon-white"></i> <?php 
echo translate_button('dob_remove');
?>
</a>
			<a tabindex="3" class="m-btn green" id="dob_edit"><i class="icon-edit icon-white"></i> <?php 
echo translate_button('dob_edit');
?>
</a>
		</div>
	</form>
	<div class="clear"></div>
</div>
Ejemplo n.º 14
0
" data-lang-en="<?php 
echo $button_interfaces['register']['en'];
?>
" data-lang-vi="<?php 
echo $button_interfaces['register']['vi'];
?>
" value="<?php 
echo $button_interfaces['register'][$lang_code];
?>
" tabindex="6" />
	<h5><?php 
echo translate_span('already_registered');
?>
</h5>
	<a id="member_login" class="m-btn blue button_changeable" href="/member/login/" tabindex="7"><?php 
echo translate_button('login');
?>
</a>
</form>
<script>
maskField('#member_register_dob');
disableHyphen('member_register_dob');
$('#member_register_dob').datepicker({
	dateFormat: 'yy-mm-dd',
	changeYear: true,
	changeMonth: true,
	yearRange: '0:<?php 
echo date('Y');
?>
',
	defaultDate: '<?php