PageRenderTime 361ms queryFilters 1ms Sphinxql 186ms app.CodeModel.GetByIds 127ms findMatchingLines 26ms GetByIds 153ms meta 0ms repositoryFilters 8ms languageFilters 8ms sourceFilters 3ms

421,407 results for 'php empty repo:nosen/jelly2' (361 ms)

Source

Language

Repository

website-sqlazure-webmatrix.md https://github.com/mattshel/azure-content.git | Unknown | 218 lines
1<properties linkid="develop-php-website-with-sql-database-and-webmatrix" urlDisplayName="Web w/ SQL + WebMatrix" pageTitle="PHP web site with SQL Database and WebMatrix - Windows Azure" metaKeywords="" metaDescription="A tutorial that demonstrates how to use the free WebMatrix IDE to create and deploy a PHP web site that stores data in SQL Database." metaCanonical="" disqusComments="1" umbracoNaviHide="1" />
2
6
7This tutorial shows you how to use WebMatrix to develop and deploy a PHP application that uses a Windows Azure SQL Database to a Windows Azure web site. WebMatrix is a free web development tool from Microsoft that includes everything you need for web site development. WebMatrix supports PHP and includes intellisense for PHP development. 
8
117
1183. Next, you need to add your local SQL Server database connection information to the `taskmodel.php` file. Open the  `taskmodel.php` file by double clicking it, and update the database connection information in the `connect` function. (**Note**: Jump to [Publish Your Application](#Publish) if you do not want to test your application locally and want to instead publish directly to Windows Azure Web Sites.)
119
197[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
198[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
199[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
199[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
200[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
201[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
209[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
210[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
211[go-to-dashboard]: ../Media/go_to_dashboard.png
website-mysql-webmatrix.md https://github.com/mattshel/azure-content.git | Unknown | 217 lines
1<properties linkid="develop-php-website-with-mysql-and-webmatrix" urlDisplayName="Web w/ WebMatrix" pageTitle="PHP web site with MySQL and WebMatrix - Windows Azure tutorial" metaKeywords="" metaDescription="A tutorial that demonstrates how to use the free WebMatrix IDE to create and deploy a PHP web site that stores data in MySQL." metaCanonical="" disqusComments="1" umbracoNaviHide="0" />
2
6
7This tutorial shows you how to use WebMatrix to develop and deploy a PHP-MySQL application to a Windows Azure Web Site. WebMatrix is a free web development tool from Microsoft that includes everything you need for web site development. WebMatrix supports PHP and includes intellisense for PHP development.
8
119
1207. Next, you need to add your local MySQL database connection information to the `taskmodel.php` file. Open the  `taskmodel.php` file by double clicking it, and update the database connection information in the `connect` function. (**Note**: Jump to [Publish Your Application](#Publish) if you do not want to test your application locally and want to instead publish directly to Windows Azure Web Sites.)
121
191[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
192[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
193[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
193[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
194[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
195[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
202[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
203[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
204[new-website]: ../../Shared/Media/new_website.jpg
website-sqlazure-webmatrix.md https://github.com/dominicbetts/azure-content.git | Unknown | 216 lines
1<properties umbracoNaviHide="0" pageTitle="PHP-MySQL Windows Azure Website using WebMatrix" metaKeywords="Windows Azure deployment, Azure deployment, Windows Azure Websites, Windows Azure SQL Database, SQL Database, PHP, WebMatrix" metaDescription="Learn how to create and deploy a PHP website and a SQL Database to Windows Azure using WebMatrix." linkid="dev-php-tutorials-sql-database-website-webmatrix" urlDisplayName="Create and Deploy a PHP Website and SQL Database Using WebMatrix" headerExpose="" footerExpose="" disqusComments="1" />
2
4
5This tutorial shows you how to use WebMatrix to develop and deploy a PHP application that uses a Windows Azure SQL Database to a Windows Azure Website. WebMatrix is a free web development tool from Microsoft that includes everything you need for website development. WebMatrix supports PHP and includes intellisense for PHP development. 
6
12
13* How to create a Windows Azure Website and a SQL Database using the Preview Management Portal. Because PHP is enabled in Windows Azure Websites by default, nothing special is required to run your PHP code.
14* How to develop a PHP application using WebMatrix.
195[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
196[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
197[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
197[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
198[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
199[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
207[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
208[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
209[go-to-dashboard]: ../Media/go_to_dashboard.png
website-mysql-webmatrix.md https://github.com/dominicbetts/azure-content.git | Unknown | 215 lines
1<properties umbracoNaviHide="0" pageTitle="PHP-MySQL Windows Azure Website using WebMatrix" metaKeywords="Windows Azure deployment, Azure deployment, Windows Azure Websites, MySQL, PHP, WebMatrix" metaDescription="Learn how to create and deploy a PHP-MySQL website to Windows Azure using WebMatrix." linkid="dev-php-tutorials-mysql-website-webmatrix" urlDisplayName="Create and Deploy a PHP-MySQL Windows Azure Website Using WebMatrix" headerExpose="" footerExpose="" disqusComments="1" />
2
4
5This tutorial shows you how to use WebMatrix to develop and deploy a PHP-MySQL application to a Windows Azure Website. WebMatrix is a free web development tool from Microsoft that includes everything you need for website development. WebMatrix supports PHP and includes intellisense for PHP development.
6
12
13* How to create a Windows Azure Website and a MySQL database using the Preview Management Portal. Because PHP is enabled in Windows Azure Websites by default, nothing special is required to run your PHP code.
14* How to develop a PHP application using WebMatrix.
189[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
190[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
191[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
191[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
192[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
193[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
200[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
201[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
202[new-website]: ../../Shared/Media/new_website.jpg
website-sqlazure-webmatrix.md https://github.com/boomdelicious/azure-content.git | Unknown | 224 lines
1<properties umbracoNaviHide="0" pageTitle="PHP-MySQL Windows Azure Website using WebMatrix" metaKeywords="Windows Azure deployment, Azure deployment, Windows Azure Websites, Windows Azure SQL Database, SQL Database, PHP, WebMatrix" metaDescription="Learn how to create and deploy a PHP website and a SQL Database to Windows Azure using WebMatrix." linkid="dev-php-tutorials-sql-database-website-webmatrix" urlDisplayName="Create and Deploy a PHP Website and SQL Database Using WebMatrix" headerExpose="" footerExpose="" disqusComments="1" />
2
4
5This tutorial shows you how to use WebMatrix to develop and deploy a PHP application that uses a Windows Azure SQL Database to a Windows Azure Website. WebMatrix is a free web development tool from Microsoft that includes everything you need for website development. WebMatrix supports PHP and includes intellisense for PHP development. 
6
12
13* How to create a Windows Azure Website and a SQL Database using the Preview Management Portal. Because PHP is enabled in Windows Azure Websites by default, nothing special is required to run your PHP code.
14* How to develop a PHP application using WebMatrix.
203[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
204[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
205[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
205[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
206[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
207[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
215[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
216[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
217[go-to-dashboard]: ../Media/go_to_dashboard.jpg
website-mysql-webmatrix.md https://github.com/boomdelicious/azure-content.git | Unknown | 223 lines
1<properties umbracoNaviHide="0" pageTitle="PHP-MySQL Windows Azure Website using WebMatrix" metaKeywords="Windows Azure deployment, Azure deployment, Windows Azure Websites, MySQL, PHP, WebMatrix" metaDescription="Learn how to create and deploy a PHP-MySQL website to Windows Azure using WebMatrix." linkid="dev-php-tutorials-mysql-website-webmatrix" urlDisplayName="Create and Deploy a PHP-MySQL Windows Azure Website Using WebMatrix" headerExpose="" footerExpose="" disqusComments="1" />
2
4
5This tutorial shows you how to use WebMatrix to develop and deploy a PHP-MySQL application to a Windows Azure Website. WebMatrix is a free web development tool from Microsoft that includes everything you need for website development. WebMatrix supports PHP and includes intellisense for PHP development.
6
12
13* How to create a Windows Azure Website and a MySQL database using the Preview Management Portal. Because PHP is enabled in Windows Azure Websites by default, nothing special is required to run your PHP code.
14* How to develop a PHP application using WebMatrix.
197[webmatrix-php-template]: ../../Shared/Media/webmatrix_php_template.jpg
198[webmatrix-php-emptysite]: ../../Shared/Media/webmatrix_php_emptysite.jpg
199[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
199[webmatrix-files]: ../../Shared/Media/webmatrix_files.jpg
200[webmatrix-delete-indexphp]: ../../Shared/Media/webmatrix_delete_indexphp.jpg
201[webmatrix-add-existing]: ../../Shared/Media/webmatrix_add_existing.jpg
208[php-site-from-template]: ../../Shared/Media/php_site_from_template.png
209[php-empty-site-template-installed]: ../../Shared/Media/php_empty_site_template_installed.png
210[new-website]: ../../Shared/Media/new_website.jpg
document.php https://github.com/zeert/dolibarr.git | PHP | 182 lines
1<?php
2/* Copyright (C) 2003-2004 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
26
27require("../../main.inc.php");
28require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
28require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
29require_once(DOL_DOCUMENT_ROOT."/core/lib/propal.lib.php");
30require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
30require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
31require_once(DOL_DOCUMENT_ROOT."/core/lib/images.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
43$socid='';
44if (! empty($user->societe_id))
45{
126
127	$linkback='<a href="'.DOL_URL_ROOT.'/comm/propal/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
128
history.php https://github.com/Modulaweb/dolibarr.git | PHP | 193 lines
1<?php
2/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
29
39$socid='';
40if (! empty($user->societe_id)) $socid=$user->societe_id;
41$result = restrictedArea($user, 'fournisseur', $id, '', 'commande');
51
52if ($id > 0 || ! empty($ref))
53{
78
79		$linkback = '<a href="'.DOL_URL_ROOT.'/fourn/commande/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
80
Update1_2_9To1_2_10.php https://github.com/jwigal/emcommdb.git | PHP | 727 lines
1<?php
2/*******************************************************************************
174
175$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (7, 'editusers', 'admin', 0, '".gettext('Edit Users')."', 'UserList.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 1)";
176if (!RunQuery($sSQL, FALSE))
326
327$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, '".gettext('Empty Cart')."', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2)";
328if (!RunQuery($sSQL, FALSE))
330
331$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, '".gettext('Empty Cart to Group')."', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3)";
332if (!RunQuery($sSQL, FALSE))
334
335$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, '".gettext('Empty Cart to Family')."', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4)";
336if (!RunQuery($sSQL, FALSE))
338
339$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, '".gettext('Empty Cart to Event')."', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5)";
340if (!RunQuery($sSQL, FALSE))
UpdateInfoTo1.2.10.sql https://github.com/jwigal/emcommdb.git | SQL | 244 lines
151INSERT INTO `menuconfig_mcf` VALUES (2, 'main', 'root', 1, 'Main', '', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
152INSERT INTO `menuconfig_mcf` VALUES (3, 'logoff', 'main', 0, 'Log Off', 'Default.php?Logoff=True', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
153INSERT INTO `menuconfig_mcf` VALUES (4, 'chgpassword', 'main', 0, 'Change My Password', 'UserPasswordChange.php', '', 'bAll', NULL, 0, 0, NULL, 1, 2);
157INSERT INTO `menuconfig_mcf` VALUES (8, 'addnewuser', 'admin', 0, 'Add New User', 'UserEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 2);
158INSERT INTO `menuconfig_mcf` VALUES (9, 'custompersonfld', 'admin', 0, 'Edit Custom Person Fields', 'PersonCustomFieldsEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 3);
159INSERT INTO `menuconfig_mcf` VALUES (10, 'donationfund', 'admin', 0, 'Edit Donation Funds', 'DonationFundEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 4);
159INSERT INTO `menuconfig_mcf` VALUES (10, 'donationfund', 'admin', 0, 'Edit Donation Funds', 'DonationFundEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 4);
160INSERT INTO `menuconfig_mcf` VALUES (11, 'dbbackup', 'admin', 0, 'Backup Database', 'BackupDatabase.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 5);
161INSERT INTO `menuconfig_mcf` VALUES (12, 'cvsimport', 'admin', 0, 'CSV Import', 'CSVImport.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 6);
191INSERT INTO `menuconfig_mcf` VALUES (42, 'viewcart', 'cart', 0, 'List Cart Items', 'CartView.php', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
192INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, 'Empty Cart', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2);
193INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, 'Empty Cart to Group', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3);
194INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, 'Empty Cart to Family', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4);
195INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, 'Empty Cart to Event', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5);
196INSERT INTO `menuconfig_mcf` VALUES (47, 'report', 'root', 1, 'Data/Reports', '', '', 'bAll', NULL, 0, 0, NULL, 1, 7);
Install.sql https://github.com/jwigal/emcommdb.git | SQL | 1,400 lines
138(40, 'iFYMonth', '1', 'number', '1', 'First month of the fiscal year', 'General', NULL),
139(41, 'sXML_RPC_PATH', 'XML/RPC.php', 'text', 'XML/RPC.php', 'Path to RPC.php, required for Lat/Lon address lookup', 'General', NULL),
140(42, 'sGeocoderID', '', 'text', '', 'User ID for rpc.geocoder.us', 'General', NULL),
685(42, 'viewcart', 'cart', 0, 'List Cart Items', NULL, 'CartView.php', '', 'bAll', NULL, 0, 0, NULL, 1, 1),
686(43, 'emptycart', 'cart', 0, 'Empty Cart', NULL, 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2),
687(44, 'carttogroup', 'cart', 0, 'Empty Cart to Group', NULL, 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3),
688(45, 'carttofamily', 'cart', 0, 'Empty Cart to Family', NULL, 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4),
689(46, 'carttoevent', 'cart', 0, 'Empty Cart to Event', NULL, 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5),
690(47, 'report', 'root', 1, 'Data/Reports', NULL, '', '', 'bAll', NULL, 0, 0, NULL, 1, 7),
1200(0, 1, 'sMailtoDelimiter', ',', 'text', 'Delimiter to separate emails in mailto: links', 'TRUE', ''),
1201(0, 2, 'bSendPHPMail', '0', 'boolean', 'User permission to send email using PHPMailer', 'FALSE', ''),
1202(0, 3, 'sFromEmailAddress', '', 'text', 'Reply email address: PHPMailer', 'FALSE', ''),
1208(1, 1, 'sMailtoDelimiter', ',', 'text', 'user permission to send email via mailto: links', 'TRUE', ''),
1209(1, 2, 'bSendPHPMail', '1', 'boolean', 'User permission to send email using PHPMailer', 'TRUE', ''),
1210(1, 3, 'sFromEmailAddress', '', 'text', 'Reply email address for PHPMailer', 'TRUE', ''),
Update1_2_9To1_2_10.php https://github.com/jwigal/churchinfo.git | PHP | 727 lines
1<?php
2/*******************************************************************************
174
175$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (7, 'editusers', 'admin', 0, '".gettext('Edit Users')."', 'UserList.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 1)";
176if (!RunQuery($sSQL, FALSE))
326
327$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, '".gettext('Empty Cart')."', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2)";
328if (!RunQuery($sSQL, FALSE))
330
331$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, '".gettext('Empty Cart to Group')."', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3)";
332if (!RunQuery($sSQL, FALSE))
334
335$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, '".gettext('Empty Cart to Family')."', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4)";
336if (!RunQuery($sSQL, FALSE))
338
339$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, '".gettext('Empty Cart to Event')."', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5)";
340if (!RunQuery($sSQL, FALSE))
UpdateInfoTo1.2.10.sql https://github.com/jwigal/churchinfo.git | SQL | 244 lines
151INSERT INTO `menuconfig_mcf` VALUES (2, 'main', 'root', 1, 'Main', '', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
152INSERT INTO `menuconfig_mcf` VALUES (3, 'logoff', 'main', 0, 'Log Off', 'Default.php?Logoff=True', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
153INSERT INTO `menuconfig_mcf` VALUES (4, 'chgpassword', 'main', 0, 'Change My Password', 'UserPasswordChange.php', '', 'bAll', NULL, 0, 0, NULL, 1, 2);
157INSERT INTO `menuconfig_mcf` VALUES (8, 'addnewuser', 'admin', 0, 'Add New User', 'UserEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 2);
158INSERT INTO `menuconfig_mcf` VALUES (9, 'custompersonfld', 'admin', 0, 'Edit Custom Person Fields', 'PersonCustomFieldsEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 3);
159INSERT INTO `menuconfig_mcf` VALUES (10, 'donationfund', 'admin', 0, 'Edit Donation Funds', 'DonationFundEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 4);
159INSERT INTO `menuconfig_mcf` VALUES (10, 'donationfund', 'admin', 0, 'Edit Donation Funds', 'DonationFundEditor.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 4);
160INSERT INTO `menuconfig_mcf` VALUES (11, 'dbbackup', 'admin', 0, 'Backup Database', 'BackupDatabase.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 5);
161INSERT INTO `menuconfig_mcf` VALUES (12, 'cvsimport', 'admin', 0, 'CSV Import', 'CSVImport.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 6);
191INSERT INTO `menuconfig_mcf` VALUES (42, 'viewcart', 'cart', 0, 'List Cart Items', 'CartView.php', '', 'bAll', NULL, 0, 0, NULL, 1, 1);
192INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, 'Empty Cart', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2);
193INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, 'Empty Cart to Group', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3);
194INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, 'Empty Cart to Family', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4);
195INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, 'Empty Cart to Event', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5);
196INSERT INTO `menuconfig_mcf` VALUES (47, 'report', 'root', 1, 'Data/Reports', '', '', 'bAll', NULL, 0, 0, NULL, 1, 7);
Install.sql https://github.com/jwigal/churchinfo.git | SQL | 1,320 lines
138(40, 'iFYMonth', '1', 'number', '1', 'First month of the fiscal year', 'General', NULL),
139(41, 'sXML_RPC_PATH', 'XML/RPC.php', 'text', 'XML/RPC.php', 'Path to RPC.php, required for Lat/Lon address lookup', 'General', NULL),
140(42, 'sGeocoderID', '', 'text', '', 'User ID for rpc.geocoder.us', 'General', NULL),
675(42, 'viewcart', 'cart', 0, 'List Cart Items', NULL, 'CartView.php', '', 'bAll', NULL, 0, 0, NULL, 1, 1),
676(43, 'emptycart', 'cart', 0, 'Empty Cart', NULL, 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2),
677(44, 'carttogroup', 'cart', 0, 'Empty Cart to Group', NULL, 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3),
678(45, 'carttofamily', 'cart', 0, 'Empty Cart to Family', NULL, 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4),
679(46, 'carttoevent', 'cart', 0, 'Empty Cart to Event', NULL, 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5),
680(47, 'report', 'root', 1, 'Data/Reports', NULL, '', '', 'bAll', NULL, 0, 0, NULL, 1, 7),
1177(0, 1, 'sMailtoDelimiter', ',', 'text', 'Delimiter to separate emails in mailto: links', 'TRUE', ''),
1178(0, 2, 'bSendPHPMail', '0', 'boolean', 'User permission to send email using PHPMailer', 'FALSE', ''),
1179(0, 3, 'sFromEmailAddress', '', 'text', 'Reply email address: PHPMailer', 'FALSE', ''),
1185(1, 1, 'sMailtoDelimiter', ',', 'text', 'user permission to send email via mailto: links', 'TRUE', ''),
1186(1, 2, 'bSendPHPMail', '1', 'boolean', 'User permission to send email using PHPMailer', 'TRUE', ''),
1187(1, 3, 'sFromEmailAddress', '', 'text', 'Reply email address for PHPMailer', 'TRUE', ''),
readme.md https://gitlab.com/chalasr/Laravel_Cloud.git | Markdown | 875 lines
121
122The Carbon class is [inherited](http://php.net/manual/en/keyword.extends.php) from the PHP [DateTime](http://www.php.net/manual/en/class.datetime.php) class.
123
149
150There are several different methods available to create a new instance of Carbon.  First there is a constructor.  It overrides the [parent constructor](http://www.php.net/manual/en/datetime.construct.php) and you are best to read about the first parameter from the PHP manual and understand the date/time string formats it accepts.  You'll hopefully find yourself rarely using the constructor but rather relying on the explicit static methods for improved readability.
151
212
213`createFromFormat()` is mostly a wrapper for the base php function [DateTime::createFromFormat](http://php.net/manual/en/datetime.createfromformat.php).  The difference being again the `$tz` argument can be a DateTimeZone instance or a string timezone value.  Also, if there are errors with the format this function will call the `DateTime::getLastErrors()` method and then throw a `InvalidArgumentException` with the errors as the message.  If you look at the source for the `createXX()` functions above, they all make a call to `createFromFormat()`.
214
429
430The PHP function `__isset()` is implemented.  This was done as some external systems (ex. [Twig](http://twig.sensiolabs.org/doc/recipes.html#using-dynamic-object-properties)) validate the existence of a property before using it.  This is done using the `isset()` or `empty()` method.  You can read more about these on the PHP site: [__isset()](http://www.php.net/manual/en/language.oop5.overloading.php#object.isset), [isset()](http://www.php.net/manual/en/function.isset.php), [empty()](http://www.php.net/manual/en/function.empty.php).
431
809
810Change the `readme.src.md` and then use the `readme.php` to generate the new `readme.md` file.  It can be run at the command line using `php readme.php` from the project root.  Maybe someday I'll extract this out to another project or at least run it with a post receive hook, but for now its just a local tool, deal with it.
811
readme.md https://gitlab.com/chalasr/Laravel_FreeAds.git | Markdown | 919 lines
129
130The Carbon class is [inherited](http://php.net/manual/en/keyword.extends.php) from the PHP [DateTime](http://www.php.net/manual/en/class.datetime.php) class.
131
157
158There are several different methods available to create a new instance of Carbon.  First there is a constructor.  It overrides the [parent constructor](http://www.php.net/manual/en/datetime.construct.php) and you are best to read about the first parameter from the PHP manual and understand the date/time string formats it accepts.  You'll hopefully find yourself rarely using the constructor but rather relying on the explicit static methods for improved readability.
159
220
221`createFromFormat()` is mostly a wrapper for the base php function [DateTime::createFromFormat](http://php.net/manual/en/datetime.createfromformat.php).  The difference being again the `$tz` argument can be a DateTimeZone instance or a string timezone value.  Also, if there are errors with the format this function will call the `DateTime::getLastErrors()` method and then throw a `InvalidArgumentException` with the errors as the message.  If you look at the source for the `createXX()` functions above, they all make a call to `createFromFormat()`.
222
446
447The PHP function `__isset()` is implemented.  This was done as some external systems (ex. [Twig](http://twig.sensiolabs.org/doc/recipes.html#using-dynamic-object-properties)) validate the existence of a property before using it.  This is done using the `isset()` or `empty()` method.  You can read more about these on the PHP site: [__isset()](http://www.php.net/manual/en/language.oop5.overloading.php#object.isset), [isset()](http://www.php.net/manual/en/function.isset.php), [empty()](http://www.php.net/manual/en/function.empty.php).
448
853
854Change the `readme.src.md` and then use the `readme.php` to generate the new `readme.md` file.  It can be run at the command line using `php readme.php` from the project root.  Maybe someday I'll extract this out to another project or at least run it with a post receive hook, but for now its just a local tool, deal with it.
855
common.php https://gitlab.com/cherian/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/cherian/xmec.git | PHP | 469 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
42  // handle configs that have register_globals turned off.
43  // we use $PHP_SELF as the test since it should always be there.
44  // We might need to consider not using globals soon.
44  // We might need to consider not using globals soon.
45  if(!isset($PHP_SELF)) {
46     include ("./include/register_globals.php");
149
150  // passed to array_walk in read.php and list.php
151  // **TODO: replace using array_flip
376  // include abstraction layer and check if its defined
377  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
378    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
458      while($plugindirname = readdir($dir)) {
459        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
460          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/cherian/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
readme.md https://gitlab.com/hashrocket/mtgdatabase.git | Markdown | 865 lines
121
122The Carbon class is [inherited](http://php.net/manual/en/keyword.extends.php) from the PHP [DateTime](http://www.php.net/manual/en/class.datetime.php) class.
123
149
150There are several different methods available to create a new instance of Carbon.  First there is a constructor.  It overrides the [parent constructor](http://www.php.net/manual/en/datetime.construct.php) and you are best to read about the first parameter from the PHP manual and understand the date/time string formats it accepts.  You'll hopefully find yourself rarely using the constructor but rather relying on the explicit static methods for improved readability.
151
212
213`createFromFormat()` is mostly a wrapper for the base php function [DateTime::createFromFormat](http://php.net/manual/en/datetime.createfromformat.php).  The difference being again the `$tz` argument can be a DateTimeZone instance or a string timezone value.  Also, if there are errors with the format this function will call the `DateTime::getLastErrors()` method and then throw a `InvalidArgumentException` with the errors as the message.  If you look at the source for the `createXX()` functions above, they all make a call to `createFromFormat()`.
214
421
422The PHP function `__isset()` is implemented.  This was done as some external systems (ex. [Twig](http://twig.sensiolabs.org/doc/recipes.html#using-dynamic-object-properties)) validate the existence of a property before using it.  This is done using the `isset()` or `empty()` method.  You can read more about these on the PHP site: [__isset()](http://www.php.net/manual/en/language.oop5.overloading.php#object.isset), [isset()](http://www.php.net/manual/en/function.isset.php), [empty()](http://www.php.net/manual/en/function.empty.php).
423
799
800Change the `readme.src.md` and then use the `readme.php` to generate the new `readme.md` file.  It can be run at the command line using `php readme.php` from the project root.  Maybe someday I'll extract this out to another project or at least run it with a post receive hook, but for now its just a local tool, deal with it.
801
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21