This file contains 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
<!-- INCLUDE overall_header.html --> | |
<h1>{L_FOE_FRIEND_LIST}</h1> | |
<p>{L_FOE_FRIEND_LIST_EXPLAIN}</p> | |
<!-- BEGIN foefriendblock --> | |
<h2>{foefriendblock.L_MODE_CNT}</h2> | |
<ul id="{foefriendblock.L_MODE}-list"> | |
<!-- BEGIN foefriendrow --> |
This file contains 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 | |
/** | |
* | |
* @package phpBB3 | |
* @copyright (c) 2010 Erik Frèrejean | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* | |
*/ | |
/** |
This file contains 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 | |
/** | |
* @ignore | |
*/ | |
if (!defined('IN_PHPBB')) | |
{ | |
exit; | |
} | |
function jqdropdown_init(&$hook) |
This file contains 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
stk/common | |
stk/index | |
stk/develop/bbcode_reclean | |
stk/develop/db_cleaner | |
stk/develop/generate_bom_sniffer_whitelist | |
stk/includes/critical_repair | |
stk/includes/functions | |
stk/includes/plugin | |
stk/includes/umil | |
stk/includes/database_cleaner/database_cleaner_controller |
This file contains 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 hook_tabitha(&$hook) | |
{ | |
global $db, $template, $user; | |
if (empty($template->_tpldata['postrow'])) | |
{ | |
return; | |
} |
This file contains 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 | |
class controller | |
{ | |
private $container = null; | |
public function __construct() | |
{ | |
$this->container = new container(); |
This file contains 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 | |
define('IN_PHPBB', true); | |
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/'; | |
$phpEx = substr(strrchr(__FILE__, '.'), 1); | |
include($phpbb_root_path . 'common.' . $phpEx); | |
include($phpbb_root_path . 'includes/bbcode.' . $phpEx); | |
include($phpbb_root_path . 'includes/functions_display.' . $phpEx); | |
// Start session management | |
$user->session_begin(); |
This file contains 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
Day job: Student Technical Computing / (spare time) Freelance PHP developer | |
What is your language of choice: PHP | |
Open Source contributions: Support Team member phpBB / Developer of the phpBB "Support Toolkit" | |
How do you use GitHub: Providing patches for phpBB, as well the development of the "Support Toolkit" is hosted on GitHub. Further more some development of some personal projects. |
This file contains 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 | |
// Some setup | |
$pageToScan = 'http://try-phpbb.com/30x'; | |
$stringInATag = 'Register'; | |
// Create the stream and fetch the page | |
$context = stream_context_create(array( | |
'http' => array( | |
'method' => 'GET' |
This file contains 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 dirToArray($path, $dir = '') | |
{ | |
$path = (!empty($path)) ? rtrim($path, '/') . '/' : $path; | |
$dir = (!empty($dir)) ? rtrim($dir, '/') . '/' : $dir; | |
$path = $path . $dir; | |
$list = array(); | |
$d = dir($path); |
OlderNewer