403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/news/datacenter/admin/template-pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/news/datacenter/admin/template-pages//date-time-picker.php
<script src="<?php echo ADMIN_URL;?>/assets/plugins/datetimepicker/js/moment.min.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/plugins/datetimepicker/js/daterangepicker.js"></script>
<link href="<?php echo ADMIN_URL;?>/assets/plugins/datetimepicker/css/daterangepicker.css" rel="stylesheet" /> 


			<div class="row">
					<div class="col-xl-12">
							<div class="breadcrumb-holder">
                                    <h1 class="main-title float-left">Date and Time Picker</h1>
                                    <ol class="breadcrumb float-right">
										<li class="breadcrumb-item">Home</li>
										<li class="breadcrumb-item active">Date / Time Picker</li>
                                    </ol>
                                    <div class="clearfix"></div>
                            </div>
					</div>
			</div>
            <!-- end row -->
			
			
			<div class="row">
			
                    <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">						
						<div class="card mb-3">
							<div class="card-header">
								<h3><i class="fa fa-calendar"></i> Date Range Picker</h3>
								The Date Range Picker is attached to a text input. It will use the current value of the input to initialize, and update the input if new dates are chosen.
							</div>
								
							<div class="card-body">
																
								<input type='text' class="form-control" name="daterange" value="01/01/2015 - 01/31/2015" />								
								
								<script type="text/javascript">
								$(function() {
									$('input[name="daterange"]').daterangepicker();
								});
								</script>
		
								
							</div>														
						</div><!-- end card-->					
                    </div>
					
					<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">						
						<div class="card mb-3">
							<div class="card-header">
								<h3><i class="fa fa-calendar"></i> Date and Time Picker</h3>
								The Date Range Picker can also be used to select times. Hour, minute and (optional) second dropdowns are added below the calendars. An option exists to set the increment count of the minutes dropdown to e.g. offer only 15-minute or 30-minute increments.
							</div>
								
							<div class="card-body">
								
								<input type="text" class="form-control" name="daterange" value="01/01/2015 1:30 PM - 01/01/2015 2:00 PM" />
								
								<script type="text/javascript">
								$(function() {
									$('input[name="daterange"]').daterangepicker({
										timePicker: true,
										timePickerIncrement: 30,
										locale: {
											format: 'MM/DD/YYYY h:mm A'
										}
									});
								});
								</script>

								
							</div>							
						</div><!-- end card-->					
                    </div>

			</div>




			<div class="row">
			
                    <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">						
						<div class="card mb-3">
							<div class="card-header">
								<h3><i class="fa fa-calendar"></i> Single Date Picker</h3>
								The Date Range Picker can be turned into a single date picker widget with only one calendar. In this example, dropdowns to select a month and year have also been enabled at the top of the calendar to quickly jump to different months.
							</div>
								
							<div class="card-body">								
								
								<input type="text" class="form-control" name="singledatepicker" />
 
								<script type="text/javascript">
								$(function() {
									$('input[name="singledatepicker"]').daterangepicker({
										singleDatePicker: true,
										showDropdowns: true
									});
								});
								</script>
								
							</div>														
						</div><!-- end card-->					
                    </div>
					
					<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">						
						<div class="card mb-3">
							<div class="card-header">
								<h3><i class="fa fa-calendar"></i> Predefined Ranges</h3>
								This example shows the option to predefine date ranges that the user can choose from a list.
							</div>
								
							<div class="card-body">
								
								<div id="reportrange" class="form-control pull-right" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
									<i class="fa fa-calendar"></i>&nbsp;
									<span></span> <b class="caret"></b>
								</div>

								<script type="text/javascript">
								$(function() {
									var start = moment().subtract(29, 'days');
									var end = moment();

									function cb(start, end) {
										$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
									}

									$('#reportrange').daterangepicker({
										startDate: start,
										endDate: end,
										ranges: {
										   'Today': [moment(), moment()],
										   'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
										   'Last 7 Days': [moment().subtract(6, 'days'), moment()],
										   'Last 30 Days': [moment().subtract(29, 'days'), moment()],
										   'This Month': [moment().startOf('month'), moment().endOf('month')],
										   'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
										}
									}, cb);
									cb(start, end);
								});
								</script>

							</div>							
						</div><!-- end card-->					
                    </div>

			</div>			
			
			<div class="alert alert-success" role="alert">
					  <h4 class="alert-heading">Documentation</h4>
					  <p>You can find examples and documentation about Bootstrap date picker and range picker here: <a target="_blank" href="http://www.daterangepicker.com/">Datetime range picker</a></p>
			</div>
			

Youez - 2016 - github.com/yon3zu
LinuXploit