This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl.cafile=/Applications/XAMPP/etc/cacert.pem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* simple encrypt & decrypt for POC | |
* @param type $string | |
* @param type $key | |
* @return type | |
*/ | |
function encrypt($string, $key) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS `users` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`firstname` varchar(32) NOT NULL, | |
`lastname` varchar(32) NOT NULL, | |
`email` varchar(32) NOT NULL, | |
`username` varchar(32) NOT NULL, | |
`password` varchar(32) NOT NULL, | |
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO `users` (`id`, `firstname`, `lastname`, `email`, `username`, `password`, `modified`) VALUES | |
(28, 'John', 'Dalisay', '', 'john', 'john123', '2012-01-15 07:26:14'), | |
(39, 'Jem', 'Panlilio', '', 'jemboy09', 'jem123', '2012-01-15 07:26:46'), | |
(40, 'Darwin', 'Dalisay', '', 'dada08', 'dada123', '2012-01-15 07:25:34'), | |
(46, 'Jaylord', 'Bitamug', '', 'jayjay', 'jay123', '2012-01-15 07:27:04'), | |
(49, 'Justine', 'Bongola', '', 'jaja', 'jaja123', '2012-01-15 07:27:21'), | |
(50, 'Jun', 'Sabayton', '', 'jun', 'jun123', '2012-02-05 10:15:14'), | |
(51, 'Lourd', 'De Veyra', '', 'lourd', 'lourd123', '2012-02-05 10:15:36'), | |
(52, 'Asi', 'Taulava', '', 'asi', 'asi123', '2012-02-05 10:15:58'), | |
(53, 'James', 'Yap', '', 'james', 'jame123', '2012-02-05 10:16:17'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="background-color:#ecf0f1; font-family:Open Sans, Helvetica, sans-serif; font-size:15px; line-height:1.5em; color:#2c3e50; padding:30px; margin:auto;"> | |
<div id="header" style="margin-bottom:20px; width: auto; padding:20px; margin:auto; max-width: 600px; font-family:Open Sans, Helvetica, sans-serif; font-size:28px; font-weight:500; line-height:1.5em; color:#2c3e50;"><a class="brand" href="http://{$site_url}" style="color:#2c3e50;">{$site_title}</a></div> | |
<div id="body" style="margin-bottom:20px; background-color:#fff; padding:20px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; border:1px solid #e8e8e8; width: auto; max-width: 600px; margin:auto;"> | |
<p>{$email_content}</p> | |
</div> | |
<div class="footer" style="text-align: center; color: #7F8C8D; font-size: 14px; max-width: 600px; padding: 20px; margin: auto;"></div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
skip-grant-tables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO mysql.user | |
SET user = 'root', | |
host = 'localhost', | |
password = '', --jika ingin masukkan password, password = Password('password_anda') | |
Select_priv = 'y', | |
Insert_priv = 'y', | |
Update_priv = 'y', | |
Delete_priv = 'y', | |
Create_priv = 'y', | |
Drop_priv = 'y', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "/Volumes/projects/projects/LinkTrackr/public_html" | |
ServerName linktrackr.local | |
ServerAlias *.linktrackr.local | |
<Directory "/Volumes/projects/projects/LinkTrackr/public_html"> | |
Allow from all | |
Require all granted | |
Options Indexes FollowSymLinks | |
AllowOverride All |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$input_lines = '<option value="All">All</option> | |
<option value="Apparel">Apparel</option> | |
<option value="Appliances">Appliances</option> | |
<option value="ArtsAndCrafts">ArtsAndCrafts</option> | |
<option value="Automotive">Automotive</option> | |
<option value="Baby">Baby</option> | |
<option value="Beauty">Beauty</option> | |
<option value="Blended">Blended</option> | |
<option value="Books">Books</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$pusingan_tawaf = array( | |
array('no pusingan'=>1,'disunatkan'=>'Berlari-lari anak dan ittiba (sopan)', 'bacaan'=>'اللهم اجعله حجاً مبروراً وذنباً مغفوراً وسعياً مشكورا'), | |
array('no pusingan'=>2,'disunatkan'=>'Berlari-lari anak dan ittiba (sopan)', 'bacaan'=>'اللهم اجعله حجاً مبروراً وذنباً مغفوراً وسعياً مشكورا'), | |
array('no pusingan'=>3,'disunatkan'=>'Berlari-lari anak dan ittiba (sopan)', 'bacaan'=>'اللهم اجعله حجاً مبروراً وذنباً مغفوراً وسعياً مشكورا'), | |
array('no pusingan'=>4,'disunatkan'=>'ittiba (sopan)','bacaan'=>'اللهم اغفر وارحم واعف وتكرم، وتجاوز عما تعلم, إنك أنت الأعز الأكرم' ), | |
array('no pusingan'=>5,'disunatkan'=>'ittiba (sopan)','bacaan'=>'اللهم اغفر وارحم واعف وتكرم، وتجاوز عما تعلم, إنك أنت الأعز الأكرم' ), | |
array('no pusingan'=>6,'disunatkan'=>'ittiba (sopan)','bacaan'=>'اللهم اغفر وارحم واعف وتكرم، وتجاوز عما تعلم, إنك أنت الأعز الأكرم' ), | |
array('no pusingan'=>7,'disunatkan'=>'ittiba (sopan)','bacaan'=>'اللهم اغفر وارحم واعف وتكرم، وتجاوز عما تعلم, إنك أنت الأعز الأكرم' ), |