100+ results results for 'php getdate repo:horvelod/easymynewsletter' (697 ms)
1<?php 2 249 */ 250 public function getDateFormat() 251 {date.php https://bitbucket.org/JakePratt/kupcakz.com.git | PHP | 395 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 7 * @copyright (c) 2007-2009 Kohana Team 8 * @license http://kohanaphp.com/license 9 */ 19 { 20 $timestamp = ($timestamp === FALSE) ? getdate() : getdate($timestamp); 21 55 * Returns the offset (in seconds) between two time zones. 56 * @see http://php.net/timezones 57 *JDatabaseTest.php https://github.com/Hackwar/joomla-platform.git | PHP | 513 lines
1<?php 2/** 9 10require_once JPATH_PLATFORM . '/joomla/database/database.php'; 11require_once __DIR__ . '/stubs/nosqldriver.php'; 14 * Test class for JDatabase. 15 * Generated by PHPUnit on 2009-10-08 at 22:00:38. 16 * 208 /** 209 * Tests the JDatabase::getDateFormat method. 210 * 214 */ 215 public function testGetDateFormat() 216 { 217 $this->assertThat( 218 $this->db->getDateFormat(), 219 $this->equalTo('Y-m-d H:i:s')article.php https://bitbucket.org/eternaware/joomus.git | PHP | 323 lines
1<?php 2/** 123 $nullDate = $db->Quote($db->getNullDate()); 124 $date = JFactory::getDate(); 125FreeBusyGenerator.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 322 lines
1<?php 2 198 199 $startTime = $component->DTSTART->getDateTime(); 200 if ($this->end && $startTime > $this->end) { 204 if (isset($component->DTEND)) { 205 $endTime = $component->DTEND->getDateTime(); 206 } elseif (isset($component->DURATION)) {QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
1<?php 2 212 */ 213 public function getDateField($field) { 214 return $field; 241 */ 242 public function getDateFormat($field, $format, $string_date = FALSE) { 243 return $field;Item.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 658 lines
1<?php 2/** 185 */ 186 public function getDate() 187 {content.php https://github.com/Hackwar/joomla-platform.git | PHP | 372 lines
1<?php 2/** 185 { 186 $this->alias = JFactory::getDate()->format('Y-m-d-H-i-s'); 187 } 245 { 246 $date = JFactory::getDate(); 247 $user = JFactory::getUser();Form.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 307 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 254 255 protected function _getDateBlock() 256 { 291 */ 292 public function getDateInput($attribute, $part = 'from') 293 { 296 297 return $this->_getDateBlock() 298 ->setName($name)%%0C^0C4^0C47B79C%%layout.tpl.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 146 lines
2 compiled from author/submission/layout.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'author/submission/layout.tpl', 15, false),array('function', 'icon', 'author/submission/layout.tpl', 94, false),array('modifier', 'escape', 'author/submission/layout.tpl', 19, false),array('modifier', 'date_format', 'author/submission/layout.tpl', 33, false),array('modifier', 'default', 'author/submission/layout.tpl', 39, false),)), $this); ?> 35" class="file"><?php echo ((is_array($_tmp=$this->_tpl_vars['layoutFile']->getFileName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> 36</a> <?php echo ((is_array($_tmp=$this->_tpl_vars['layoutFile']->getDateModified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?> 37 84" class="file"><?php echo ((is_array($_tmp=$this->_tpl_vars['galley']->getFileName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> 85</a> <?php echo ((is_array($_tmp=$this->_tpl_vars['galley']->getDateModified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?> 86</td> 116" class="file"><?php echo ((is_array($_tmp=$this->_tpl_vars['suppFile']->getFileName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> 117</a> <?php echo ((is_array($_tmp=$this->_tpl_vars['suppFile']->getDateModified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?> 118</td> 138');" class="icon"><?php echo $this->_plugins['function']['icon'][0][0]->smartyIcon(array('name' => 'comment'), $this);?> 139</a><?php echo ((is_array($_tmp=$this->_tpl_vars['comment']->getDatePosted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?> 140Rss.php https://gitlab.com/rsilveira1987/Expresso | PHP | 533 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Rss.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 20 */ 24 */ 25require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 34 */ 35require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php'; 36 39 */ 40require_once 'Zend/Date.php'; 41frontpage.php https://github.com/navinpai/GEC-Tandav.git | PHP | 263 lines
197 ?> 198 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Content' );?>::<?php echo $row->name; ?>"> 199 <a href="<?php echo $link; ?>"> 208 <td align="center"> 209 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Publish Information' );?>::<?php echo $times; ?>"> 210 <a href="javascript:void(0);" onclick="return listItemTask('cb<?php echo $i;?>','<?php echo $row->state ? 'unpublish' : 'publish' ?>')"> 210 <a href="javascript:void(0);" onclick="return listItemTask('cb<?php echo $i;?>','<?php echo $row->state ? 'unpublish' : 'publish' ?>')"> 211 <img src="images/<?php echo $img;?>" width="16" height="16" border="0" alt="<?php echo $alt;?>" /></a></span> 212 </td> 219 <?php $disabled = $ordering ? '' : 'disabled="disabled"'; ?> 220 <input type="text" name="order[]" size="5" value="<?php echo $row->fpordering;?>" <?php echo $disabled ?> class="text_area" style="text-align: center" /> 221 </td> 237 <span class="editlinktip hasTip" title="<?php echo $title_cat; ?>::<?php echo $row->name; ?>"> 238 <a href="<?php echo $row->cat_link; ?>" title="<?php echo $title_cat; ?>"> 239 <?php echo $row->name; ?></a></span>default.php https://github.com/snellcode/ARCNA-Animals.git | PHP | 362 lines
112 <?php if( $this->user->gid >= 19 ) : ?> 113 <tr><th colspan='23'><a class='arcnaButton' href='<?php echo JRoute::_("index.php?option={$option}&task=add"); ?>'>Submit a new record</a></th></tr> 114 <?php endif; ?> 259 ?> 260 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Item' );?>::<?php echo $this->escape($item->name); ?>"> 261 <a href="<?php echo $url; ?>"> 273 ?> 274 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Item' );?>::<?php echo $this->escape($item->name); ?>"> 275 <a href="<?php echo $url; ?>"> 288 ?> 289 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Item' );?>::<?php echo $this->escape($item->name); ?>"> 290 <h1><a href="<?php echo $url; ?>"><?php echo $this->escape($item->id); ?></a></h1> 341 <?php if( $this->params->get('show_created', 1 ) ) : ?> 342 <td align="center"><?php echo JFactory::getDate( $item->created )->toFormat('%m/%d/%Y'); ?></td> 343 <?php endif; ?>Rss.php https://github.com/grandison/budo16.git | PHP | 533 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Rss.php 18367 2009-09-22 14:55:59Z padraic $ 20 */ 24 */ 25// require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30// require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 34 */ 35// require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php'; 36 39 */ 40// require_once 'Zend/Date.php'; 41rss.php https://github.com/tlezotte/HCR.git | PHP | 256 lines
31 32include_once(BASE.'functions/date_functions.php'); 33 36$rssview = $_GET['rssview']; 37if (isset($_GET['getdate']) && $_GET['getdate'] !=''){ 38 $getdate = $_GET['getdate']; 54 case 'month': 55 $parse_month = date ("Ym", strtotime($getdate)); 56 $fromdate = ($parse_month *100) + 1; 63 }else{ 64 $theyear = substr($getdate,0,4); 65 } 198 $rss_title = urldecode ("$dayofweek: $event_text"); 199 $rss_link = "$default_path/day.php?getdate=$thisdate&cal=$cal"; 200 if (isset($cpath) && $cpath !='') $rss_link.="&cpath=$cpath";Queue.php https://bitbucket.org/acidel/buykoala.git | PHP | 372 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 161 $locale = Mage::app()->getLocale(); 162 $format = $locale->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); 163 $time = $locale->date($startAt, $format)->getTimestamp();Atom.php https://github.com/Riges/KawaiViewModel.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 24 */ 25require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128Createdat.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 260 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 88 89 $periodExpr = $adapter->getDatePartSql($this->getStoreTZOffsetQuery( 90 array('o' => $this->getTable('sales/order')),ReviewerSubmission.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 518 lines
1<?php 2 3/** 4 * ReviewerSubmission.inc.php 5 * 12 * 13 * $Id: ReviewerSubmission.inc.php,v 1.20 2006/06/12 23:25:56 alec Exp $ 14 */ 170 */ 171 function getDateAssigned() { 172 return $this->getData('dateAssigned'); 186 */ 187 function getDateNotified() { 188 return $this->getData('dateNotified'); 202 */ 203 function getDateConfirmed() { 204 return $this->getData('dateConfirmed');UuidTest.php https://github.com/FabienD/symfony.git | PHP | 336 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\Uid\NilUuid; 62 63 $this->assertEquals(\DateTimeImmutable::createFromFormat('U.u', '1583245966.746458'), $uuid->getDateTime()); 64 $this->assertSame('3499710062d0', $uuid->getNode()); 97 98 $this->assertEquals(\DateTimeImmutable::createFromFormat('U.u', '85916308548.278321'), $uuid->getDateTime()); 99 $this->assertSame('3499710062d0', $uuid->getNode()); 320 321 public function testGetDateTime() 322 { 322 { 323 $this->assertEquals(\DateTimeImmutable::createFromFormat('U.u', '103072857660.684697'), ((new UuidV1('ffffffff-ffff-1fff-a456-426655440000'))->getDateTime())); 324 $this->assertEquals(\DateTimeImmutable::createFromFormat('U.u', '0.000001'), ((new UuidV1('1381400a-1dd2-11b2-a456-426655440000'))->getDateTime()));jquery.date.js https://github.com/lenix/EventCalendar.git | JavaScript | 420 lines
14 * Dual licensed under the MIT and GPL licenses: 15 * http://www.opensource.org/licenses/mit-license.php 16 * http://www.gnu.org/licenses/gpl.html 249 add("addMonths", function(num) { 250 var tmpdtm = this.getDate(); 251 253 254 if (tmpdtm > this.getDate()) 255 this.addDays(-this.getDate()); 272 add("addDays", function(num) { 273 this.setDate(this.getDate() + num); 274 return this; 368 .split('mm').join(_zeroPad(this.getMonth()+1)) 369 .split('dd').join(_zeroPad(this.getDate())); 370 });Atom.php https://github.com/kervin/kyzstudio.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 22662 2010-07-24 17:37:36Z mabe $ 20 */ 24 */ 25#require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30#require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128sets.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 260 lines
43 <div class="checkbox"> 44 <label><?php echo $form->checkbox('fsOverrideGlobalPermissions', 1, $fs->overrideGlobalPermissions())?> <?php echo t('Enable custom permissions for this file set.')?></label> 45 </div> 89 <td data-key="filename"><?php echo $f->getFileName()?></td> 90 <td data-key="added" data-sort="<?php echo $f->getDateAdded()->getTimestamp()?>" ><?php echo $dh->formatDateTime($f->getDateAdded()->getTimestamp())?></td> 91 </tr> 209 <option value="<?php echo FileSet::TYPE_PUBLIC?>" <?php if ($fsType != FileSet::TYPE_PRIVATE) { ?> selected <?php } ?>><?php echo t('Public Sets')?></option> 210 <option value="<?php echo FileSet::TYPE_PRIVATE?>" <?php if ($fsType == FileSet::TYPE_PRIVATE) { ?> selected <?php } ?>><?php echo t('My Sets')?></option> 211 </select> 224 <div class="ccm-dashboard-header-buttons"> 225 <a href="<?php echo View::url('/dashboard/files/add_set')?>" class="btn btn-default"><?php echo t('Add File Set')?></a> 226 </div> 239 <div class="ccm-group"> 240 <a class="ccm-group-inner" href="<?php echo $view->url('/dashboard/files/sets/', 'view_detail', $fs->getFileSetID())?>"><i class="fa fa-cubes"></i> <?php echo $fs->getFileSetDisplayName()?></a> 241 </div>ArticleEventLogEntry.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 494 lines
1<?php 2 3/** 4 * @file classes/article/log/ArticleEventLogEntry.inc.php 5 * 176 */ 177 function getDateLogged() { 178 return $this->getData('dateLogged');datetime.js https://bitbucket.org/ajumell/django-helpers.git | JavaScript | 270 lines
167 168 equal(p.find('td.day.active').text(), today.getDate(), 'day shown correct'); 169 175 var d = '15.05.1984 16:40', 176 e = $('<a href="#" data-type="datetime" data-pk="1" data-url="post-datetime-clear.php">'+d+'</a>').appendTo(fx).editable({ 177 format: f, 182 $.mockjax({ 183 url: 'post-datetime-clear.php', 184 response: function(settings) { 226 var d = '15.05.1984 16:40', 227 e = $('<a href="#" data-type="datetime" data-pk="1" data-url="post-datetime-clear1.php">'+d+'</a>').appendTo(fx).editable({ 228 showbuttons: false, 233 $.mockjax({ 234 url: 'post-datetime-clear1.php', 235 response: function(settings) {ModuleGraph.php https://bitbucket.org/enurkov/prestashop.git | PHP | 334 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2012 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 57 // Get dates in a manageable format 58 $from_array = getdate(strtotime($this->_employee->stats_date_from)); 59 $to_array = getdate(strtotime($this->_employee->stats_date_to)); 170 171 // @todo use native CSV PHP functions ? 172 // Generate first line (column titles) 235 die(Tools::displayError()); 236 if (!Tools::file_exists_cache($file = _PS_ROOT_DIR_.'/modules/'.$render.'/'.$render.'.php')) 237 die(Tools::displayError());Atom.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 22108 2010-05-05 13:44:11Z padraic $ 20 */ 24 */ 25require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128class.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
1<?php 2use Bitrix\Main, 59 array('=DATE_TO' => false), 60 array('>DATE_TO' => date($DB->dateFormatToPHP(\CLang::getDateFormat('FULL')), time())) 61 )user.php https://github.com/rietn/minima.git | PHP | 414 lines
1<?php 2/** 2/** 3 * @version $Id: user.php 20228 2011-01-10 00:52:54Z eddieajau $ 4 * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. 185 if ($this->registerDate == null || $this->registerDate == '0000-00-00 00:00:00' ) { 186 $this->registerDate = JFactory::getDate()->toMySQL(); 187 } 395 // If no timestamp value is passed to functon, than current time is used. 396 $date = JFactory::getDate($timeStamp); 397datatype-date-format.js https://gitlab.com/Mirros/cdnjs | JavaScript | 384 lines
70 C: function (d) { return xPad(parseInt(d.getFullYear()/100, 10), 0); }, 71 d: ["getDate", "0"], 72 e: ["getDate", " "], 90 var gmd_1 = new Date("" + d.getFullYear() + "/1/1 GMT"); 91 var gmdate = new Date("" + d.getFullYear() + "/" + (d.getMonth()+1) + "/" + d.getDate() + " GMT"); 92 var ms = gmdate - gmd_1; 183 * <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html">http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html</a> 184 * PHP added a few of its own, defined at <a href="http://www.php.net/strftime">http://www.php.net/strftime</a> 185 * </p> 186 * <p> 187 * This javascript implementation supports all the PHP specifiers and a few more. The full list is below. 188 * </p>contact.php https://github.com/rietn/minima.git | PHP | 312 lines
1<?php 2/** 2/** 3 * @version $Id: contact.php 21097 2011-04-07 15:38:03Z dextercowley $ 4 * @package Joomla.Site 138 $nullDate = $db->Quote($db->getNullDate()); 139 $nowDate = $db->Quote(JFactory::getDate()->toMySQL()); 140 287 if ($result) { 288 require_once JPATH_ADMINISTRATOR.'/components/com_users/models/user.php'; 289 $userModel = JModel::getInstance('User','UsersModel',array('ignore_request' => true));article.php https://github.com/rietn/minima.git | PHP | 353 lines
1<?php 2/** 2/** 3 * @version $Id: article.php 21148 2011-04-14 17:30:08Z ian $ 4 * @package Joomla.Administrator 14 15require_once JPATH_COMPONENT_ADMINISTRATOR.'/helpers/content.php'; 16 88 if($table->state == 1 && intval($table->publish_up) == 0) { 89 $table->publish_up = JFactory::getDate()->toMySQL(); 90 }batch_reminders.php https://github.com/med2000/openemr.git | PHP | 202 lines
1<?php 2// Copyright (C) 2010 OpenEMR Support LLC 14$ignoreAuth=1; 15require_once(dirname(__FILE__)."/../../interface/globals.php"); 16include_once("$srcdir/sql.inc"); 16include_once("$srcdir/sql.inc"); 17include_once("$srcdir/formdata.inc.php"); 18?> 20<head> 21<?php html_header_show();?> 22<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css"> 25<body class="body_top"> 26<span class="title"><?php echo htmlspecialchars(xl('Patient Reminder Batch Job'), ENT_QUOTES)?></span> 27<table> 29 <td class='text' align='left' colspan="3"><br> 30 <span class="text"><?php echo htmlspecialchars(xl('The patient reminders have been processed according their scheduled dates.'), ENT_QUOTES)?></span><br><br> 31 <span class="text"><?php echo htmlspecialchars(xl('Email delivery is immediate, while automated VOIP is sent to the service provider for further processing.'), ENT_QUOTES)?></span><br><br>date.js https://bitbucket.org/antonyravel/cape-resorts.git | JavaScript | 507 lines
14 * Dual licensed under the MIT and GPL licenses: 15 * http://www.opensource.org/licenses/mit-license.php 16 * http://www.gnu.org/licenses/gpl.html 296 add("addMonths", function(num) { 297 var tmpdtm = this.getDate(); 298 300 301 if (tmpdtm > this.getDate()) 302 this.addDays(-this.getDate()); 319 add("addDays", function(num) { 320 //this.setDate(this.getDate() + num); 321 this.setTime(this.getTime() + (num*86400000) ); 420 .split('yy').join((this.getFullYear() + '').substring(2)) 421 .split('dd').join(_zeroPad(this.getDate())) 422 .split('d').join(this.getDate());find_appt_popup.php https://github.com/md-tech/openemr.git | PHP | 370 lines
136 137 $adate = getdate($thistime); 138 if ($repeattype == 0) { // daily 177<?php html_header_show(); ?> 178<title><?php xl('Find Available Appointments','e'); ?></title> 179<link rel="stylesheet" href='<?php echo $css_header ?>' type='text/css'> 183<script type="text/javascript" src="../../../library/dynarch_calendar.js"></script> 184<?php include_once("{$GLOBALS['srcdir']}/dynarch_calendar_en.inc.php"); ?> 185<script type="text/javascript" src="../../../library/dynarch_calendar_setup.js"></script> 262<div id="searchCriteria"> 263<form method='post' name='theform' action='find_appt_popup.php?providerid=<?php echo $providerid ?>&catid=<?php echo $input_catid ?>'> 264 <?php xl('Start date:','e'); ?> 269 title='<?php xl('Click here to choose a date','e'); ?>'> 270 <?php xl('for','e'); ?> 271 <input type='text' name='searchdays' size='3' value='<?php echo $searchdays ?>'controller.php https://github.com/kuzin/website-2008.git | PHP | 537 lines
1<?php 2/** 2/** 3 * @version $Id: controller.php 11215 2008-10-26 02:25:51Z ian $ 4 * @package Joomla 6 * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant to the 10 * of works licensed under the GNU General Public License or other free or open 11 * source software licenses. See COPYRIGHT.php for copyright notices and 12 * details. 117 { 118 $this->setRedirect( 'index.php' ); 119 } 149 if ( ! $return ) { 150 $return = 'index.php?option=com_user'; 151 }Calendar.php https://github.com/cawago/ci_campusync_auth.git | PHP | 477 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 131 $local_date = mktime(12, 0, 0, $month, 1, $year); 132 $date = getdate($local_date); 133 $day = $start_day + 1 - $date["wday"]; 475 476/* End of file Calendar.php */ 477/* Location: ./system/libraries/Calendar.php */datetime.h https://github.com/kevlund/hiphop-php.git | C Header | 304 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#ifndef __HPHP_DATETIME_H__ 18#define __HPHP_DATETIME_H__Attribute.php https://github.com/kervin/kyzstudio.git | PHP | 417 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Attribute.php 22996 2010-09-22 17:01:46Z sgehrig $ 20 */ 24 */ 25#require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 *PsSupplyOrder.php https://gitlab.com/StarsoftDevelopers/migrate | PHP | 593 lines
1<?php 2 372 */ 373 public function getDateAdd() 374 { 396 */ 397 public function getDateUpd() 398 { 420 */ 421 public function getDateDeliveryExpected() 422 {HttpCacheListenerTest.php https://gitlab.com/pr0055/symfonypizza | PHP | 259 lines
1<?php 2 20 21class HttpCacheListenerTest extends \PHPUnit_Framework_TestCase 22{ 148 { 149 $request = $this->createRequest(new Cache(array('lastModified' => 'test.getDate()'))); 150 $request->attributes->set('test', new TestEntity()); 163 { 164 $request = $this->createRequest(new Cache(array('lastModified' => 'test.getDate()'))); 165 $request->attributes->set('test', new TestEntity()); 249{ 250 public function getDate() 251 {demo-editable.js https://gitlab.com/kaouech/theme | JavaScript | 182 lines
16 17 $.fn.editable.defaults.url = 'assets/form-editable.php'; 18 $.fn.editable.defaults.inputclass = 'form-control'; 77 validate: function(v) { 78 if(v && v.getDate() == 10) return 'Day cant be 10!'; 79 },Date.php https://gitlab.com/rsilveira1987/Expresso | PHP | 253 lines
1<?php 2class UnitTestCase_Date extends UnitTestCase { 24 $exception = new qCal_DateTime_Exception("Foo", 0, null, $date); 25 $this->assertEqual($exception->getDate(), $date); 26 $this->expectException($exception); 99 * Calling __toString will output the date in the format specified by calling setFormat() 100 * You can use any of the date-related meta characters from php's date() function. Time-related 101 * formatting will not work. 160 $this->assertEqual($date->getXthWeekdayOfMonth("+2")->__toString(), "04/09/2009"); 161 // we can also use numbers instead of spelling out the names of weekdays and months. For the weekday part, use 0 for Sunday through 6 for Saturday (the same as PHP's date function's "w" metacharacter) 162 $this->assertEqual($date->getXthWeekdayOfMonth(2, 1)->__toString(), "04/13/2009"); // second mondaycalendar.js https://github.com/masir/ucs-2.0.git | JavaScript | 280 lines
5* 6* Modification of phpMyAdmin's calendar library 7*/ 143 month = dt.getMonth(); 144 day = dt.getDate(); 145 } 201 var firstDay = new Date(year, month, 1).getDay(); 202 var lastDay = new Date(year, month + 1, 0).getDate(); 203Filter.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 466 lines
1<?php 2/** 76 // Hide any articles that are not in the published date range 77 $now = JFactory::getDate()->toSql(); 78 $nullDate = $this->db->getNullDate();Createdat.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 255 lines
1<?php 2/** 44 * @throws \Exception 45 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 46 * @SuppressWarnings(PHPMD.UnusedLocalVariable) 66 67 $periodExpr = $connection->getDatePartSql( 68 $this->getStoreTZOffsetQuery(CLocale.php https://gitlab.com/Griffolion/Final-Year-Project | PHP | 472 lines
1<?php 2/** 80 $fullPath=$dataPath.DIRECTORY_SEPARATOR.$file; 81 if(substr($file,-4)==='.php' && is_file($fullPath)) 82 $locales[]=substr($file,0,-4); 100 $dataPath=self::$dataPath===null ? dirname(__FILE__).DIRECTORY_SEPARATOR.'data' : self::$dataPath; 101 $dataFile=$dataPath.DIRECTORY_SEPARATOR.$this->_id.'.php'; 102 if(is_file($dataFile)) 139 */ 140 public function getDateFormatter() 141 { 283 */ 284 public function getDateFormat($width='medium') 285 { 300 */ 301 public function getDateTimeFormat() 302 {OauthService.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 294 lines
1<?php 2/** 19 * 20 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 21 */ 107 */ 108 private function getDateHelper() 109 { 216 $consumer = $this->loadConsumer($consumerId); 217 $consumer->setUpdatedAt($this->getDateHelper()->gmtDate()); 218 $consumer->save();Attribute.php https://gitlab.com/Ltaimao/wecenter | PHP | 417 lines
1<?php 2/** 24 */ 25//require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 * 384 */ 385 public static function getDateTimeAttribute(array $data, $attribName, $index = null) 386 {category.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 474 lines
1<?php 2/** 134 $nullDate = $db->quote($db->getNullDate()); 135 $nowDate = $db->quote(JFactory::getDate()->toSQL()); 136Attribute.php https://gitlab.com/rsilveira1987/Expresso | PHP | 417 lines
1<?php 2/** 24 */ 25require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 * 384 */ 385 public static function getDateTimeAttribute(array $data, $attribName, $index = null) 386 {Attribute.php https://gitlab.com/yousafsyed/easternglamor | PHP | 417 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 * 384 */ 385 public static function getDateTimeAttribute(array $data, $attribName, $index = null) 386 {Bestsellers.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 324 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 78 // convert dates from UTC to current admin timezone 79 $periodExpr = $adapter->getDatePartSql( 80 $this->getStoreTZOffsetQuery(Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
1<?php 2/** 255 $replacements = array( 256 Zend_Date::now()->toString(Zend_Locale_Format::getDateFormat($this->_locale), $this->_locale), 257 Tinebase_Core::getUser()->accountDisplayName,LayoutEditorAction.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 349 lines
1<?php 2 7/** 8 * @file classes/submission/layoutEditor/LayoutEditorAction.inc.php 9 * 18 19// $Id: LayoutEditorAction.inc.php,v 1.38.2.1 2009/04/08 19:42:50 asmecher Exp $ 20 149 $layoutAssignment = &$submission->getLayoutAssignment(); 150 if ($layoutAssignment->getDateCompleted() != null) { 151 return true;ExportAccountsReportAction.php https://gitlab.com/e0/X2CRM | PHP | 207 lines
1<?php 2/*********************************************************************************** 74 $_GET = json_decode($_SESSION['accountsReport']['GET'], true); 75 $dateRange = X2DateUtil::getDateRange(); 76 if(isset($_GET['dateField'], $_GET['start'], $_GET['end'], $_GET['range'])){Atom.php https://github.com/luisbraschi/ursp.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 22108 2010-05-05 13:44:11Z padraic $ 20 */ 24 */ 25#require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30#require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128category.php https://github.com/Joomla-Bible-Study/joomla_churchdirectory.git | PHP | 479 lines
1<?php 2/** 206 $nullDate = $db->q($db->getNullDate()); 207 $nowDate = $db->q(JFactory::getDate()->toSql()); 208Attribute.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 417 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Attribute.php 22996 2010-09-22 17:01:46Z sgehrig $ 20 */ 24 */ 25require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 *php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 131 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 129 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 130 CodeMirror.defineMIME("text/x-php", phpConfig); 131})();CopyeditorAction.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 404 lines
1<?php 2 3/** 4 * @file CopyeditorAction.inc.php 5 * 13 * 14 * $Id: CopyeditorAction.inc.php,v 1.51 2007/09/19 00:04:34 asmecher Exp $ 15 */ 175 176 if ($copyeditorSubmission->getDateNotified() != null && $copyeditorSubmission->getDateUnderway() == null) { 177 $copyeditorSubmission->setDateUnderway(Core::getCurrentDate()); 179 180 } elseif ($copyeditorSubmission->getDateFinalNotified() != null && $copyeditorSubmission->getDateFinalUnderway() == null) { 181 $copyeditorSubmission->setDateFinalUnderway(Core::getCurrentDate()); 207 // stages. 208 if ($copyeditStage == 'initial' && ($copyeditorSubmission->getDateNotified() == null || $copyeditorSubmission->getDateCompleted() != null)) return; 209 else if ($copyeditStage == 'final' && ($copyeditorSubmission->getDateFinalNotified() == null || $copyeditorSubmission->getDateFinalCompleted() != null)) return;BaseHisconc.php https://github.com/cidesa/roraima-comunal.git | PHP | 526 lines
1<?php 2 192 193 $this->feccom = $rs->getDate($startcol + 1, null); 194 347 348 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 349 { 384 385 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 386 { 400 401 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 402 { 434 435 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 436 {article.php https://github.com/cholalabs/CholaApps2.0.git | PHP | 306 lines
1<?php 2/** 2/** 3 * @version $Id: article.php 20810 2011-02-21 20:01:22Z dextercowley $ 4 * @package Chola.Site 120 $nullDate = $db->Quote($db->getNullDate()); 121 $nowDate = $db->Quote(JFactory::getDate()->toMySQL()); 122component.php https://gitlab.com/alexprowars/bitrix | PHP | 304 lines
55 $arParams["PAGE_NAVIGATION_WINDOW"] = intval(intVal($arParams["PAGE_NAVIGATION_WINDOW"]) > 0 ? $arParams["PAGE_NAVIGATION_WINDOW"] : 11); 56 $arParams["DATE_FORMAT"] = trim(empty($arParams["DATE_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("SHORT")) : $arParams["DATE_FORMAT"]); 57 $arParams["TOPICS_PER_PAGE"] = intval(intVal($arParams["TOPICS_PER_PAGE"]) > 0 ? $arParams["TOPICS_PER_PAGE"] : COption::GetOptionString("forum", "TOPICS_PER_PAGE", "10")); 76$arResult["FORUMS"] = array(); 77$arResult["GROUPS_FORUMS"] = array(); // declared in result_modifier.php 78$arResult["GROUPS"] = CForumGroup::GetByLang(LANGUAGE_ID); 80$aSort = array("RANK"=>"DESC", "DATE_CHANGE"=>"DESC"); 81$cache = new CPHPCache(); 82$cache_path_main = str_replace(array(":", "//"), "/", "/".SITE_ID."/".$componentName."/"); 178 { 179 $arFilter1["DATE_CHANGE"] = Date(CDatabase::DateFormatToPHP(CLang::GetDateFormat("FULL", LANGUAGE_ID)), 180 time()-(intval($_REQUEST["DATE_CHANGE"])*24*3600)+CTimeZone::GetOffset()); 240 $res["BODY_FORMATED"] = preg_replace("#\[/?(quote|b|i|u|code|url).*?\]#i", "", $res["BODY_FORMATED"]); 241 $res["DATE_CHANGE"] = CForumFormat::DateFormat($arParams["DATE_FORMAT"], MakeTimeStamp($res["DATE_CHANGE"], CSite::GetDateFormat())); 242 if (mb_strpos($res["SITE_URL"], "#message") !== false)EventController.php https://bitbucket.org/kdms/sh-magento.git | PHP | 284 lines
1<?php 2/** 159 $event->setDisplayState($data->getDisplayState()) 160 ->setStoreDateStart($data->getDateStart()) 161 ->setStoreDateEnd($data->getDateEnd())Atom.php https://github.com/sas05/zf-1.11.x-doctrine-2.x.git | PHP | 422 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 23775 2011-03-01 17:25:24Z ralph $ 20 */ 24 */ 25require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128Date.php https://github.com/reoring/sabel.git | PHP | 389 lines
1<?php 2 9 * @copyright 2004-2008 Mori Reo <mori.reo@sabel.jp> 10 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 11 */ 117 { 118 return $this->getDateTime(); 119 } 127 128 public function getDatetime() 129 { 132 133 public function getDate() 134 {Atom.php https://github.com/skoop/Gesichtbuch.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 6352 2010-08-16 15:02:45Z tpater $ 20 */ 24 */ 25// require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30// require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128Atom.php https://github.com/zeon/qpkg-piwik.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 22108 2010-05-05 13:44:11Z padraic $ 20 */ 24 */ 25// require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30// require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128Main.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 281 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 204 205 $dateFormatIso = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); 206 $fieldset->addField('from_date', 'date', array(Attribute.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 417 lines
1<?php 2/** 24 */ 25// require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 * 384 */ 385 public static function getDateTimeAttribute(array $data, $attribName, $index = null) 386 {Form.php https://bitbucket.org/jokusafet/magento2.git | PHP | 312 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 259 260 protected function _getDateBlock() 261 { 296 */ 297 public function getDateInput($attribute, $part = 'from') 298 { 301 302 return $this->_getDateBlock() 303 ->setName($name)Atom.php https://github.com/shevron/zf2.git | PHP | 403 lines
1<?php 2/** 102 */ 103 public function getDateCreated() 104 { 108 109 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 110 124 */ 125 public function getDateModified() 126 { 130 131 $dateModified = $this->getExtension('Atom')->getDateModified(); 132date-format-tofte.js https://gitlab.com/github-cloud-corporation/jalangi2 | JavaScript | 300 lines
9 // formatDate : 10 // a PHP date like function, for formatting date strings 11 // See: http://www.php.net/date 72 return new String(self.getDate()).length == 1? 73 "0"+self.getDate() : self.getDate(); 74 } 114 // Day of the month without leading zeros 115 return self.getDate(); 116 } 167 // English ordinal suffix for the day of the month, 2 characters 168 return daysSuffix[self.getDate()-1]; 169 }teamblog.php https://github.com/joomleiros/tpl_joomleiros.git | PHP | 351 lines
1<?php 2/** 4* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5* @license GNU/GPL, see LICENSE.php 6* EasyBlog is free software. This version may have been modified pursuant 9* other free or open source software licenses. 10* See COPYRIGHT.php for copyright notices and details. 11*/ 16 17require_once( JPATH_ROOT.DS.'components'.DS.'com_easyblog'.DS.'constants.php' ); 18require_once( EBLOG_HELPERS . DS . 'router.php' ); 138 { 139 $date =& JFactory::getDate(); 140 $this->created = $date->toMySQL(); 343 { 344 return EasyBlogHelper::getHelper( 'Feeds' )->getFeedURL( 'index.php?option=com_easyblog&view=teamblog&id=' . $this->id ); 345 }Single.php https://github.com/ibnoe/Microweber.git | PHP | 565 lines
1<?php 2/** 6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later 7 * @version $Id: Single.php 4272 2011-04-01 00:33:56Z vipsoft $ 8 * 147 } 148 return $this->period->getDateStart()->getTimestamp(); 149 } 177 // we add one day to make sure we don't miss the day of the website creation 178 if( $this->period->getDateEnd()->addDay(2)->isEarlier( $this->site->getCreationDate() ) ) 179 { 184 // if the starting date is in the future we know there is no visit 185 if( $this->period->getDateStart()->subDay(2)->isLater( Piwik_Date::today() ) ) 186 { 349 { 350 // this will be written back to the column 'idsubdatatable' just before rendering, see Renderer/Php.php 351 $row->addMetadata('idsubdatatable_in_db', $row->getIdSubDataTable());Atom.php https://github.com/basdog22/Qool.git | PHP | 421 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Atom.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 24 */ 25require_once 'Zend/Feed/Reader/FeedAbstract.php'; 26 29 */ 30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php'; 31 120 */ 121 public function getDateCreated() 122 { 126 127 $dateCreated = $this->getExtension('Atom')->getDateCreated(); 128tag.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 338 lines
1<?php 2/** 4* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5* @license GNU/GPL, see LICENSE.php 6* EasyBlog is free software. This version may have been modified pursuant 9* other free or open source software licenses. 10* See COPYRIGHT.php for copyright notices and details. 11*/ 13 14require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'table.php' ); 15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' ); 15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' ); 16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR . 'router.php' ); 17 137 { 138 $date = EasyBlogHelper::getDate(); 139 $this->created = $date->toMySQL();user.php https://github.com/CCI-Studios/Wee-Magazine.git | PHP | 481 lines
1<?php 2/** 211 { 212 $this->registerDate = JFactory::getDate()->toSql(); 213 } 460 // If no timestamp value is passed to function, than current time is used. 461 $date = JFactory::getDate($timeStamp); 462datatype-date-format.js https://gitlab.com/Mirros/cdnjs | JavaScript | 392 lines
77 C: function (d) { return xPad(parseInt(d.getFullYear()/100, 10), 0); }, 78 d: ["getDate", "0"], 79 e: ["getDate", " "], 97 var gmd_1 = new Date("" + d.getFullYear() + "/1/1 GMT"); 98 var gmdate = new Date("" + d.getFullYear() + "/" + (d.getMonth()+1) + "/" + d.getDate() + " GMT"); 99 var ms = gmdate - gmd_1; 190 * <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html">http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html</a> 191 * PHP added a few of its own, defined at <a href="http://www.php.net/strftime">http://www.php.net/strftime</a> 192 * </p> 193 * <p> 194 * This javascript implementation supports all the PHP specifiers and a few more. The full list is below. 195 * </p>Notification.php https://gitlab.com/wuhang2003/core | PHP | 453 lines
1<?php 2/** 164 */ 165 public function getDateTime() { 166 return $this->dateTime; 445 && 446 $this->getDateTime()->getTimestamp() !== 0 447 &&%%CE^CE6^CE60AA58%%completed.tpl.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 116 lines
2 compiled from layoutEditor/completed.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'layoutEditor/completed.tpl', 20, false),array('function', 'html_options_translate', 'layoutEditor/completed.tpl', 22, false),array('function', 'translate', 'layoutEditor/completed.tpl', 25, false),array('function', 'html_select_date', 'layoutEditor/completed.tpl', 34, false),array('function', 'print_issue_id', 'layoutEditor/completed.tpl', 72, false),array('function', 'page_info', 'layoutEditor/completed.tpl', 91, false),array('function', 'page_links', 'layoutEditor/completed.tpl', 92, false),array('modifier', 'escape', 'layoutEditor/completed.tpl', 28, false),array('modifier', 'date_format', 'layoutEditor/completed.tpl', 60, false),array('modifier', 'truncate', 'layoutEditor/completed.tpl', 62, false),array('modifier', 'strip_unsafe_html', 'layoutEditor/completed.tpl', 63, false),array('block', 'iterate', 'layoutEditor/completed.tpl', 54, false),)), $this); ?> 16 <select name="searchMatch" size="1" class="selectMenu"> 17 <option value="contains"<?php if ($this->_tpl_vars['searchMatch'] == 'contains'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.contains"), $this);?> 18</option> 18</option> 19 <option value="is"<?php if ($this->_tpl_vars['searchMatch'] == 'is'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.is"), $this);?> 20</option> 77</a></td> 78 <td><?php echo ((is_array($_tmp=$this->_tpl_vars['layoutAssignment']->getDateCompleted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?> 79</td> 97 <tr> 98 <td colspan="7" class="<?php if ($this->_tpl_vars['submissions']->eof()): ?>end<?php endif; ?>separator"> </td> 99 </tr>ArchivePurger.php https://gitlab.com/yasminmostfa/thomas-site | PHP | 272 lines
1<?php 2/** 229 // We delete more often which is safe, since reports are re-processed on demand 230 return Date::factory($this->now - 2 * $temporaryArchivingTimeout)->getDateTime(); 231 } 233 // If cron core:archive command is building the reports, we should keep all temporary reports from today 234 return $this->yesterday->getDateTime(); 235 } 239 $daysRangesValid = Config::getInstance()->General['purge_date_range_archives_after_X_days']; 240 return Date::factory('today')->subDay($daysRangesValid)->getDateTime(); 241 }DateField.js https://github.com/vuuvv/vshop1.git | JavaScript | 396 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's top-level directory for details. 115 { 116 var format = qx.locale.Date.getDateFormat("medium").toString(); 117 162 var textField = this.getChildControl("textfield"); 163 textField.setValue(this.getDateFormat().format(value)); 164 183 try { 184 return this.getDateFormat().parse(textfieldValue); 185 } catch (ex) { 288 289 textField.setValue(this.getDateFormat().format(selectedDate)); 290 this.close();Feed.php https://gitlab.com/reasonat/test8 | PHP | 536 lines
1<?php 2/** 107 */ 108 public function getDateCreated() 109 { 135 */ 136 public function getDateModified() 137 {wsus_sync.php https://gitlab.com/Maskerade/patchdashboard | PHP | 245 lines
1<?php 2 3/** 4 * PHP version 5 5 * 28function convert_date($date) { 29 $date_array = getdate(strtotime($date)); 30 $date = $date_array['year'] . '-';ipayment.php https://github.com/kipster/_csm.git | PHP | 244 lines
1<?php 2/* 2/* 3 $Id: ipayment.php,v 1.32 2003/01/29 19:57:14 hpdl Exp $ 4 31 32 $this->form_action_url = 'https://ipayment.de/merchant/' . MODULE_PAYMENT_IPAYMENT_ID . '/processor.php'; 33 } 81 82 $today = getdate(); 83 for ($i=$today['year']; $i < $today['year']+10; $i++) { 103 104 include(DIR_WS_CLASSES . 'cc_validation.php'); 105SimpleMessage.php https://github.com/bheneka/gitta.git | PHP | 609 lines
1<?php 2 10 11//@require 'Swift/Mime/Message.php'; 12//@require 'Swift/Mime/MimePart.php'; 12//@require 'Swift/Mime/MimePart.php'; 13//@require 'Swift/Mime/MimeEntity.php'; 14//@require 'Swift/Mime/HeaderSet.php'; 14//@require 'Swift/Mime/HeaderSet.php'; 15//@require 'Swift/Mime/ContentEncoder.php'; 16 109 */ 110 public function getDate() 111 {PersonCatalog.php https://bitbucket.org/xsngroup/estadisticas.git | PHP | 345 lines
1<?php 2/** 16 */ 17require_once "lib/db/Catalog.php"; 18require_once "application/models/beans/Person.php"; 18require_once "application/models/beans/Person.php"; 19require_once "application/models/exceptions/PersonException.php"; 20require_once "application/models/collections/PersonCollection.php"; 20require_once "application/models/collections/PersonCollection.php"; 21require_once "application/models/factories/PersonFactory.php"; 22 79 'last_name' => $person->getLastName(), 80 'date_birthdate' => $person->getDateBirthdate(), 81 'genre' => $person->getGenre(), 167 'last_name' => $person->getLastName(), 168 'date_birthdate' => $person->getDateBirthdate(), 169 'genre' => $person->getGenre(),ReviewerSubmission.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 513 lines
1<?php 2 3/** 4 * ReviewerSubmission.inc.php 5 * 12 * 13 * $Id: ReviewerSubmission.inc.php,v 1.16 2005/08/12 19:52:51 alec Exp $ 14 */ 170 */ 171 function getDateAssigned() { 172 return $this->getData('dateAssigned'); 186 */ 187 function getDateNotified() { 188 return $this->getData('dateNotified'); 202 */ 203 function getDateConfirmed() { 204 return $this->getData('dateConfirmed');ReviewerSubmission.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 543 lines
1<?php 2 3/** 4 * @file classes/submission/reviewer/ReviewerSubmission.inc.php 5 * 195 */ 196 function getDateAssigned() { 197 return $this->getData('dateAssigned'); 211 */ 212 function getDateNotified() { 213 return $this->getData('dateNotified'); 227 */ 228 function getDateConfirmed() { 229 return $this->getData('dateConfirmed'); 243 */ 244 function getDateCompleted() { 245 return $this->getData('dateCompleted');Event.php https://github.com/espaan/PostCalendar.git | PHP | 245 lines
1<?php 2/** 82 83 $date = PostCalendar_Util::getDate(array( 84 'date' => $date));BaseFcdetrep.php https://github.com/cidesa/siga-universitario.git | PHP | 526 lines
1<?php 2 198 199 $this->fecha = $rs->getDate($startcol + 4, null); 200 347 348 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 349 { 384 385 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 386 { 400 401 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 402 { 434 435 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 436 {VideoHit.php https://gitlab.com/mautic-master/mautic | PHP | 810 lines
1<?php 2/** 313 */ 314 public function getDateHit() 315 { 321 */ 322 public function getDateLeft() 323 {%%D5^D58^D58E5185%%completed.tpl.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 115 lines
2 compiled from copyeditor/completed.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'copyeditor/completed.tpl', 20, false),array('function', 'html_options_translate', 'copyeditor/completed.tpl', 22, false),array('function', 'translate', 'copyeditor/completed.tpl', 25, false),array('function', 'html_select_date', 'copyeditor/completed.tpl', 34, false),array('function', 'print_issue_id', 'copyeditor/completed.tpl', 70, false),array('function', 'page_info', 'copyeditor/completed.tpl', 90, false),array('function', 'page_links', 'copyeditor/completed.tpl', 91, false),array('modifier', 'escape', 'copyeditor/completed.tpl', 28, false),array('modifier', 'date_format', 'copyeditor/completed.tpl', 58, false),array('modifier', 'truncate', 'copyeditor/completed.tpl', 60, false),array('modifier', 'strip_unsafe_html', 'copyeditor/completed.tpl', 61, false),array('block', 'iterate', 'copyeditor/completed.tpl', 54, false),)), $this); ?> 16 <select name="searchMatch" size="1" class="selectMenu"> 17 <option value="contains"<?php if ($this->_tpl_vars['searchMatch'] == 'contains'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.contains"), $this);?> 18</option> 18</option> 19 <option value="is"<?php if ($this->_tpl_vars['searchMatch'] == 'is'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.is"), $this);?> 20</option> 75</a></td> 76 <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getDateFinalCompleted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?> 77</td> 96 <tr> 97 <td colspan="7" class="<?php if ($this->_tpl_vars['submissions']->eof()): ?>end<?php endif; ?>separator"> </td> 98 </tr>calendar.php https://github.com/olberger/fusionforge.git | PHP | 346 lines
1<?php 2/** 33 34require_once('../env.inc.php'); 35require_once $gfcommon.'include/pre.php'; 35require_once $gfcommon.'include/pre.php'; 36require_once $gfwww.'pm/include/ProjectGroupHTML.class.php'; 37 73 74$today = getdate(time()); 75 92if ($group_id && $group_project_id) { 93 require_once $gfcommon.'pm/ProjectTaskFactory.class.php'; 94 require_once $gfcommon.'pm/ProjectGroup.class.php'; 143 return '<a title="'. sprintf(_('Task summary: %s'), $task->getSummary()) 144 . '" href="'.util_make_url ('/pm/task.php?func=detailtask&project_task_id=' . $task->getID() . '&group_id=' . $group_id . '&group_project_id=' .$group_project_id) 145 . '">' . ($type == 'begin' ?DobTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 429 lines
1<?php 2/** 14 15class DobTest extends \PHPUnit_Framework_TestCase 16{ 44 45 /** @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Customer\Api\Data\AttributeMetadataInterface */ 46 private $attribute; 50 51 /** @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Customer\Api\CustomerMetadataInterface */ 52 private $customerMetadata; 254 * is used to derive the Locale that is used to determine the 255 * value of Dob::getDateFormat() for that Locale. 256 */ 256 */ 257 public function testGetDateFormat() 258 {Atom.php https://gitlab.com/yousafsyed/easternglamor | PHP | 400 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Feed/Reader.php'; 26 29 */ 30#require_once 'Zend/Feed/Reader/EntryInterface.php'; 31 34 */ 35#require_once 'Zend/Feed/Reader/EntryAbstract.php'; 36 39 */ 40#require_once 'Zend/Feed/Reader/Extension/Atom/Entry.php'; 41 139 */ 140 public function getDateCreated() 141 {Shipping.php https://gitlab.com/yousafsyed/easternglamor | PHP | 254 lines
1<?php 2/** 63 // convert dates to current admin timezone 64 $periodExpr = $connection->getDatePartSql( 65 $this->getStoreTZOffsetQuery($sourceTable, 'created_at', $from, $to) 138 * @throws \Exception 139 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 140 */ 165 // convert dates to current admin timezone 166 $periodExpr = $connection->getDatePartSql( 167 $this->getStoreTZOffsetQuery(box_graph_invoices_permonth.php git://github.com/Dolibarr/dolibarr.git | PHP | 293 lines
1<?php 2/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net> 18/** 19 * \file htdocs/core/boxes/box_graph_invoices_permonth.php 20 * \ingroup factures 22 */ 23include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php'; 24 75 76 //include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; 77 //$facturestatic=new Facture($this->db); 112 113 include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; 114 include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facturestats.class.php'; 129 } 130 $nowarray = dol_getdate(dol_now(), true); 131 if (empty($endyear)) {office_comments_full.php https://github.com/md-tech/openemr.git | PHP | 144 lines
40/* BACK should go to the main Office Notes screen */ 41if ($userauthorized) { $backurl="office_comments.php"; } 42else { $backurl="../main_info.php"; } 60<br> 61<a href="javascript:document.new_note.submit();" class="link_submit">[<?php xl ('Add New Note','e'); ?>]</a> 62</form> 67 68<?php //change the view on the current mode, whether all, active, or inactive 69$all_class="link"; $active_class="link"; $inactive_class="link"; 75<span class="text"><?php xl('View:','e'); ?> </span> 76<a href="office_comments_full.php?offset=0&active=all" class="<?php echo $all_class;?>">[<?php xl('All','e'); ?>]</a> 77<a href="office_comments_full.php?offset=0&active=1" class="<?php echo $active_class;?>">[<?php xl ('Only Active','e'); ?>]</a> 77<a href="office_comments_full.php?offset=0&active=1" class="<?php echo $active_class;?>">[<?php xl ('Only Active','e'); ?>]</a> 78<a href="office_comments_full.php?offset=0&active=0" class="<?php echo $inactive_class;?>">[<?php xl('Only Inactive','e'); ?>]</a> 79class.php https://gitlab.com/alexprowars/bitrix | PHP | 333 lines
1<?php 2 236 $this->arResult['SUBMIT_FORM_URL'] = Context::getCurrent()->getRequest()->getRequestUri(); 237 $this->arResult['ACTION_URL'] = $this->getPath() . '/ajax.php'; 238 $this->arResult['TITLE'] = $this->letter->get('TITLE'); 246 $methodInstance = $method->get(); 247 $code = $methodInstance->getDateTime(); 248 $this->arResult['DATE_SEND'] = $this->letter->get('DATE_SEND') ?: $this->letter->get('AUTO_SEND_TIME');