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 | |
require_once('menu.php'); | |
?> | |
<?php load_menu() ?> | |
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"> | |
<colgroup> | |
<col class="con1"> | |
<col class="con1"> | |
</colgroup> | |
<thead> |
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
/** | |
* Author: ihsanberahim | |
* Author Url: http://blog.powergeng.com | |
* Author Facebook: http://facebook.com/ihsanberahim | |
* | |
* i found it from stackoverflow | |
*/ | |
function content2src($html){ | |
$doc = new DOMDocument(); |
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
function MyAccount(_MainActivity){ | |
/*--------------------------------- | |
GROUP : Load Component Dependencies | |
----------------------------------*/ | |
var H = require('/utils/Helper'); | |
var C = require('/Config'); | |
var UITextInput = require('/views/TextInput'); | |
/*--------------------------------- |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>SERVER_INSTALL_PATH_PREFIX</key> | |
<string>/Applications/Server.app/Contents/ServerRoot</string> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>org.apache.httpd</string> | |
<key>EnvironmentVariables</key> | |
<dict> |
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
sudo chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' <dir> |
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 | |
function repeatIt(){ | |
static $id; | |
if(!$id) $id=0; | |
$id++; | |
echo sprintf('<div id="someprefix_%s">Butang %s</div>',$id,$id); | |
} | |
for($i=0;$i<10;$i++){ | |
repeatIt(); |
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 | |
$subject = ' | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test |
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 | |
$column1 = array(1,2,3,4); | |
$column2 = array('test','test','test','test'); | |
$table = array(); | |
//Example 1 | |
/*foreach($column1 as $key => $row){ | |
$table[] = array($column1[$key],$column2[$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
<?php | |
$subject = ' | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test | |
RM 1,999.01 test RM 1,999.012121 test RM 1,999.01 test RM 1,999.012121 test |