code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/users/controllers/src/base_facebook.php | PHP | asf20 | 42,802 |
<?php
// vim: foldmethod=marker
/* Generic exception class
*/
class OAuthException extends Exception {
// pass
}
class OAuthConsumer {
public $key;
public $secret;
function __construct($key, $secret, $callback_url=NULL) {
$this->key = $key;
$this->secret = $secret;
$this->callback_url = $callbac... | zwanv5 | trunk/system/application/modules/users/controllers/src/twitteroauth/OAuth.php | PHP | asf20 | 26,478 |
<?php
/*
* Abraham Williams (abraham@abrah.am) http://abrah.am
*
* The first PHP Library to support OAuth for Twitter's REST API.
*/
/* Load OAuth lib. You can find it at http://oauth.net */
require_once('OAuth.php');
/**
* Twitter OAuth class
*/
class TwitterOAuth {
/* Contains the last HTTP status code ret... | zwanv5 | trunk/system/application/modules/users/controllers/src/twitteroauth/twitteroauth.php | PHP | asf20 | 7,755 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/users/controllers/src/facebook.php | PHP | asf20 | 5,217 |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
require_once('src/facebook.php');
class Users extends CI_Controller {
function __construct() {
parent::__construct();
/*--------------THEMES-----------------------*/
$this->config->load('themes');
$them... | zwanv5 | trunk/system/application/modules/users/controllers/users.php | PHP | asf20 | 10,020 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['su-tb_sys_users'] = array("strUser","strIpAddress","dteLastLogin","strUserLevel");
$config['tb_mas_users'] = array("strFirstname","strLastname","dteCreated","strEmail");
$config['tb_mas_content'] = array("strTitle","fk-tb_mas_communit... | zwanv5 | trunk/system/application/modules/admin/config/relational_db.php | PHP | asf20 | 910 |
<?php
/* Form Configuration */
$config['picture_fields'] = array('strPicture','strPlayerPicture','strFilename');
$config['radio_encoder'] = array('tb_mas_songs','tb_mas_albums');
$config['admin'] = array();
$config['super_user'] = array();
$config['uneditable'] = array
(
'tb_mas_content'=>a... | zwanv5 | trunk/system/application/modules/admin/config/admin.php | PHP | asf20 | 435 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['nav_super_user'] =
array(
'User'=>array(
'table'=>array('su-tb_sys_users','tb_mas_users'),
'Admins'=>array(
'table'=>'su-tb_sys_users'
),
'Members'=>array(
... | zwanv5 | trunk/system/application/modules/admin/config/navigation.php | PHP | asf20 | 4,108 |
<div class="padding-15">
<?php echo $table_view; ?>
<input type="hidden" value="" id="delete-value">
<hr class="clear">
<div class="control-group">
<div class="controls">
<a href="<?php echo base_url().'admin/view_form/'.$table ?>" class="btn"><i class="icon-plus"></i> Add New</a>
</div>
</div>... | zwanv5 | trunk/system/application/modules/admin/views/list_standard.php | PHP | asf20 | 838 |
<html>
<head>
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<!-- datepicker -->
<link rel="stylesheet" t... | zwanv5 | trunk/system/application/modules/admin/views/header_without_nav.php | PHP | asf20 | 1,021 |
<body>
<div class="container">
<div class="page-header">
<h1>Files</h1>
</div>
<br>
<!-- The file upload form used as target for the file upload widget -->
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
<!-- Redirect browsers with JavaScri... | zwanv5 | trunk/system/application/modules/admin/views/file_uploader_ads.php | PHP | asf20 | 11,448 |
<script type="text/javascript">
$(document).ready(function(){
$('#dt-view').dataTable( {
"aaSorting": [[ 1, "asc" ]],
"aoColumns": [
<?php switch($field_count){
case 2:
?>
{ "sWidth": "25%","sClass": "center" },
{ "sWidth": "25%", "sClass": "center", "bSortable": false },
<?php bre... | zwanv5 | trunk/system/application/modules/admin/views/list_standard_js.php | PHP | asf20 | 1,721 |
<?php $val = $this->session->flashdata('alert-message'); ?>
<div class="center-width padding-15">
<input type="hidden" id="picture-field" value="">
<div class="alert <?php echo ($val!='')?'':'hide'; ?>" id="message">
<?php echo $val; ?>
</div>
<form class="form-horizontal">
<?php echo $form; ?>
<h... | zwanv5 | trunk/system/application/modules/admin/views/form_standard.php | PHP | asf20 | 1,452 |
<h1>Restricted</h1> | zwanv5 | trunk/system/application/modules/admin/views/restricted.php | Hack | asf20 | 19 |
<div class="well center-width" id="dashboard">
<h2>Stratuscast</h2>
<h3>Website Content Management System</h3>
<p>
<h5>Developed by: Joseph Edmund Castillo</h5>
<h5>Under Stratuscast Phil Inc.</h5>
</p>
</div> | zwanv5 | trunk/system/application/modules/admin/views/dashboard.php | Hack | asf20 | 225 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap-datepicker.js';?>"></scr... | zwanv5 | trunk/system/application/modules/admin/views/footer.php | PHP | asf20 | 7,682 |
<body>
<div class="container">
<div class="page-header">
<h1>Files</h1>
</div>
<br>
<!-- The file upload form used as target for the file upload widget -->
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
<!-- Redirect browsers with... | zwanv5 | trunk/system/application/modules/admin/views/file_uploader_gallery.php | PHP | asf20 | 10,920 |
<script type="text/javascript">
$(document).ready(function(){
$("select").chosen();
$(".various").fancybox({
maxWidth : 960,
maxHeight : 600,
fitToView : false,
width : '100%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect... | zwanv5 | trunk/system/application/modules/admin/views/form_iframe_js.php | PHP | asf20 | 1,386 |
<script type="text/javascript">
$(document).ready(function(){
$("select").chosen();
$('.gallery-remove').tooltip();
$(".various").fancybox({
maxWidth : 960,
maxHeight : 600,
fitToView : false,
width : '100%',
height : '70%',
autoSize : false,
closeClick : false,... | zwanv5 | trunk/system/application/modules/admin/views/form_gallery_js.php | PHP | asf20 | 1,637 |
<html>
<head>
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<!-- datepicker -->
<link rel="stylesheet" t... | zwanv5 | trunk/system/application/modules/admin/views/header.php | PHP | asf20 | 4,180 |
<script type="text/javascript">
$(document).ready(function(){
$("select").chosen();
$(".various").fancybox({
maxWidth : 960,
maxHeight : 600,
fitToView : false,
width : '100%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect... | zwanv5 | trunk/system/application/modules/admin/views/form_standard_js.php | PHP | asf20 | 1,529 |
<html>
<head>
<!--CSS-->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>... | zwanv5 | trunk/system/application/modules/admin/views/login.php | PHP | asf20 | 4,409 |
<div class="center-width padding-15">
<div class="alert hide" id="message">
</div>
<form class="form-horizontal">
<?php echo $form; ?>
<hr class="clear">
<div class="control-group">
<div class="controls">
<?php if(isset($single)): ?>
<input type="hidden" class="postvar" na... | zwanv5 | trunk/system/application/modules/admin/views/form_standard_modal.php | PHP | asf20 | 1,191 |
<body>
<div class="container">
<div class="page-header">
<h1>Files</h1>
</div>
<br>
<!-- The file upload form used as target for the file upload widget -->
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
<!-- Redirect browsers with... | zwanv5 | trunk/system/application/modules/admin/views/file_uploader.php | PHP | asf20 | 11,556 |
<!DOCTYPE HTML>
<!--
/*
* jQuery File Upload Plugin Demo 6.14
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
-->
<html lang="en">
<head>
<!-- Force latest I... | zwanv5 | trunk/system/application/modules/admin/views/file_uploader_head.php | PHP | asf20 | 2,858 |
<style>
#advertising
{
width:90%;
margin:0 auto;
}
.tab-pane > p
{
padding:10px;
}
.ad-data
{
margin-top:10px;
}
.btn
{
margin-top:10px;
margin-right:5px;
}
.section
{
width:300px;
float:left;
... | zwanv5 | trunk/system/application/modules/admin/views/advertising.php | PHP | asf20 | 26,964 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_poster extends CI_Model {
function post_data($table,$post,$update=null)
{
if($update==null)
$this->db->insert($table,$post);
else
{
$this->db
->where('intId',$update)
->update($table,$post);
}
... | zwanv5 | trunk/system/application/modules/admin/models/data_poster.php | PHP | asf20 | 1,458 |
<?php
class Cms_users extends CI_Model
{
public function auth_user($username,$password)
{
$user = $this->db->get_where('su-tb_sys_users',array('strUser'=>$username))->result_array();
$user = current($user);
if(empty($user))
{
return "userError";
}
else
{
//if($user['strCMS... | zwanv5 | trunk/system/application/modules/admin/models/cms_users.php | PHP | asf20 | 1,678 |
<?php
/*Feed Fetcher Model*/
class Feeds extends CI_Model {
function fetch_latest_feeds($community,$amount=null,$offset=0,$type)
{
$this->db->select('*');
$this->db->where(array('fk-tb_mas_community'=>$community,'enumEnabled'=>'enabled','fk-tb_mas_content_types'=>$type));
$this->db->order_by('dteSt... | zwanv5 | trunk/system/application/modules/admin/models/feeds.php | PHP | asf20 | 2,328 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_fetcher extends CI_Model {
function fetch_table($table,$order=null,$limit=null,$where=null)
{
if($order!=null)
$this->db->order_by($order[0],$order[1]);
elseif($table == 'tb_mas_content')
$this->db->... | zwanv5 | trunk/system/application/modules/admin/models/data_fetcher.php | PHP | asf20 | 2,659 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community_model extends CI_Model {
function fetch_community_data($name)
{
$data = $this->db
->get_where('tb_mas_community',array('strName'=>$name))
->first_row();
return $data;
}
... | zwanv5 | trunk/system/application/modules/admin/models/community_model.php | PHP | asf20 | 1,619 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Admin extends CI_Controller {
var $data;
var $settings;
public function __construct()
{
parent::__construct();
//$nav = $this->data_fetcher->fetch_table('su-tb_sys_admin_nav');
$settings = $this->data_fetcher... | zwanv5 | trunk/system/application/modules/admin/controllers/admin.php | PHP | asf20 | 33,005 |
<?php
$config['server_ip'] = "173.192.70.146"; //Server IP
$config['server_port'] = "7896"; //Server Port
$config['server_pass'] = "pinoytunert3st"; //Server Password
$config['server_fail'] = "The server is not currently available"; //Message if unable to connect to the server
?>
| zwanv5 | trunk/system/application/modules/player/config/riceradio.php | PHP | asf20 | 283 |
<?php
$config['server_ip'] = "198.178.123.14"; //Server IP
$config['server_port'] = "7824"; //Server Port
$config['server_pass'] = "pinoytunert3st"; //Server Password
$config['server_fail'] = "The server is not currently available"; //Message if unable to connect to the server
?>
| zwanv5 | trunk/system/application/modules/player/config/digradio.php | PHP | asf20 | 292 |
<?php
$config['server_ip'] = "173.192.70.146"; //Server IP
$config['server_port'] = "8022"; //Server Port
$config['server_pass'] = "pinoytunert3st"; //Server Password
$config['server_fail'] = "The server is not currently available"; //Message if unable to connect to the server
?>
| zwanv5 | trunk/system/application/modules/player/config/yoradio.php | PHP | asf20 | 283 |
<?php
/* Player Configuration */
$config['APIKey'] = "YouShouldNotTryAndFakePosts";
$config['default_player'] = "digradio";
$config['player_settings'] = array(
'digradio' => array(
'station' => 'digradio',
'station_alt' => 'DigRadio',
'description' => 'Rock Radio'
),... | zwanv5 | trunk/system/application/modules/player/config/player.php | PHP | asf20 | 832 |
<?php
$config['server_ip'] = "173.192.70.146"; //Server IP
$config['server_port'] = "8006"; //Server Port
$config['server_pass'] = "pinoytunert3st"; //Server Password
$config['server_fail'] = "The server is not currently available"; //Message if unable to connect to the server
?>
| zwanv5 | trunk/system/application/modules/player/config/planetjazz.php | PHP | asf20 | 283 |
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# music: http://ogp.me/ns/music#">
<meta property="fb:app_id" content="<?php echo $facebook_meta['app_id'];?>" />
<meta property="og:type" content="music.song" />
<meta property="og:url" content="<?php echo current_url();?>... | zwanv5 | trunk/system/application/modules/player/views/object.php | PHP | asf20 | 563 |
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/xmltojson.js"></script>
<script type="text/javascript">
JSON.stringify = JSON.stringify || function (obj) {
var t = typeof (obj);
if (t != "object" || obj === null) {
// simple data type
... | zwanv5 | trunk/system/application/modules/player/views/player_js.php | PHP | asf20 | 7,269 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.easing.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>... | zwanv5 | trunk/system/application/modules/player/views/footer.php | PHP | asf20 | 2,464 |
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<!-- datepicker... | zwanv5 | trunk/system/application/modules/player/views/header.php | PHP | asf20 | 3,111 |
<div id="player" style="padding:0;margin:0">
<?php if(isset($video)):?>
<input type="hidden" value="<? echo $video_data->strTitle; ?>" id="video-title" />
<input type="hidden" value="<? echo $video_data->strSecondary; ?>" id="video-desc" />
<?php if($video_data->enumVideoStream... | zwanv5 | trunk/system/application/modules/player/views/player.php | PHP | asf20 | 5,166 |
<?php
function load_data($server_ip, $server_port, $server_pass, $server_fail) {
$socket = fsockopen($server_ip, $server_port); //Connects to the SHOUTCast server
if (!$socket) { echo $server_fail; exit; } //Unable to connect to the server
$xml = '';
$info = "GET /admin.cgi?pass=$server_pass&mode... | zwanv5 | trunk/system/application/modules/player/helpers/voscast_helper.php | PHP | asf20 | 7,185 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_poster extends CI_Model {
function post_data($table,$post,$update=null)
{
if($update==null)
$this->db->insert($table,$post);
else
{
$this->db
->where('intId',$update)
->update($table,$post);
}
... | zwanv5 | trunk/system/application/modules/player/models/data_poster.php | PHP | asf20 | 1,103 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Player_model extends CI_Model {
function get_song_meta($fileTitle)
{
$song = explode('-',$fileTitle);
$where = array('strArtist'=>trim(strtoupper($song[0])),'strSongTitle'=>trim(strtoupper($song[1])));
$ret ... | zwanv5 | trunk/system/application/modules/player/models/player_model.php | PHP | asf20 | 3,500 |
<?php
/*Feed Fetcher Model*/
class Feeds extends CI_Model {
function fetch_latest_feeds($community,$amount=null,$offset=0,$type)
{
$this->db->select('*');
$this->db->where(array('fk-tb_mas_community'=>$community,'enumEnabled'=>'enabled','fk-tb_mas_content_types'=>$type));
$this->db->order_by('dteSt... | zwanv5 | trunk/system/application/modules/player/models/feeds.php | PHP | asf20 | 2,328 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_fetcher extends CI_Model {
function fetch_table($table,$order=null,$limit=null,$where=null)
{
if($order!=null)
$this->db->order_by($order[0],$order[1]);
elseif($table == 'tb_mas_content')
$this->db->... | zwanv5 | trunk/system/application/modules/player/models/data_fetcher.php | PHP | asf20 | 2,298 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community_model extends CI_Model {
function fetch_community_data($name)
{
$data = $this->db
->get_where('tb_mas_community',array('strName'=>$name))
->first_row();
return $data;
}
... | zwanv5 | trunk/system/application/modules/player/models/community_model.php | PHP | asf20 | 1,845 |
<?php
/**
* Shoutcast
* Class for reading the SHOUTcast XML file
* @author Wavestreaming http://Wavestreaming.com
*/
class Shoutcast
{
private $_host,
$_port,
$_stream,
$_pass,
$_xml,
$_status = false,
$_error = false;
public function __construct($host = '', $port = 80... | zwanv5 | trunk/system/application/modules/player/libraries/shoutcast.php | PHP | asf20 | 8,123 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/player/controllers/src/base_facebook.php | PHP | asf20 | 42,802 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/player/controllers/src/facebook.php | PHP | asf20 | 5,217 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once('src/facebook.php');
class Player extends CI_Controller {
var $data;
var $settings;
public function __construct()
{
parent::__construct();
$this->load->model('community_model');
$this->load->model('pl... | zwanv5 | trunk/system/application/modules/player/controllers/player.php | PHP | asf20 | 9,246 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Objects extends CI_Controller {
public function index($song_id)
{
echo $song_id;
}
} | zwanv5 | trunk/system/application/modules/player/controllers/objects.php | PHP | asf20 | 184 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap-datepicker.js';?>"></... | zwanv5 | trunk/system/application/modules/planetjazz/views/single_footer.php | PHP | asf20 | 3,313 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img id="article-logo" src="<?php echo base_url();?>assets/themes/planetjazz/images/PJ-blue-logo.png" /></a>
<iframe id="single-banner" src="<?php echo base_url().'planetjazz/ads... | zwanv5 | trunk/system/application/modules/planetjazz/views/archive_gallery.php | PHP | asf20 | 5,707 |
<div class="content" style="width:1050px;">
<!---------- HEADER ---------->
<div class="article-header">
<a target="_parent" href="<?php echo base_url(); ?>planetjazz"><img id="article-logo" src="<?php echo base_url();?>assets/themes/planetjazz/images/PJ-blue-logo.png" /></a>
<iframe id="single-banner" src="<?p... | zwanv5 | trunk/system/application/modules/planetjazz/views/shows_modal.php | PHP | asf20 | 3,268 |
<body style= "background:#1c75bb url(../images/bt-color-bg.jpg) left top fixed; background-size:cover !important;">
<div class="content" style="width:900px;margin:100px auto; background-color:#fff;opacity:0.8; border-radius: 4px 4px 4px 4px;">
<div id="signup-form-container">
<div id="register-modal" class="win... | zwanv5 | trunk/system/application/modules/planetjazz/views/disabled_content.php | PHP | asf20 | 1,191 |
<html>
<head>
<style type="text/css">
html,body,img
{
height:<?php echo $ad['intHeight'].'px'; ?>;
width:<?php echo $ad['intWidth'].'px'; ?>;
margin:0;
padding:0;
}
</style>
</hea... | zwanv5 | trunk/system/application/modules/planetjazz/views/ad_view.php | PHP | asf20 | 1,203 |
<?php if(empty($feeds)): ?>
<h3>Error</h3>
<?php else:
foreach($feeds as $item):
?>
<div class="content-item">
<div class="span3 item-image">
<img src="<?php echo IMAGE_UPLOAD_DIR.$item['strPicture']; ?>"/>
</div>
<div class="span3 item-text">
<h4>
<a class="modal-trigger" href... | zwanv5 | trunk/system/application/modules/planetjazz/views/ajax_feed.php | PHP | asf20 | 1,238 |
<div class="content" style="width:1050px;">
<!---------- HEADER ---------->
<div class="gallery-header">
<a target="_parent" href="<?php echo base_url(); ?>planetjazz"><img id="article-logo" src="<?php echo base_url();?>assets/themes/planetjazz/images/PJ-blue-logo.png" /></a>
<iframe id="single-banner" src... | zwanv5 | trunk/system/application/modules/planetjazz/views/single_content_gallery.php | PHP | asf20 | 5,286 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a target="_parent" href="<?php echo base_url(); ?>planetjazz"><img id="article-logo" src="<?php echo base_url();?>assets/themes/planetjazz/images/PJ-blue-logo.png" /></a>
<iframe id="single-b... | zwanv5 | trunk/system/application/modules/planetjazz/views/single_content.php | PHP | asf20 | 7,073 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap-datepicker.js';?>"></... | zwanv5 | trunk/system/application/modules/planetjazz/views/footer.php | PHP | asf20 | 7,980 |
<div id="event-container" class="content" style="width:1050px;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img id="article-logo" src="<?php echo base_url();?>assets/themes/planetjazz/images/PJ-blue-logo.png" /></a>
<img id="article-banner" src="<?php echo base_url();?>assets/the... | zwanv5 | trunk/system/application/modules/planetjazz/views/event_modal.php | PHP | asf20 | 6,459 |
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<link rel="icon" type="image/ico" href="<?php echo $img_dir;?>favicon.png">
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="... | zwanv5 | trunk/system/application/modules/planetjazz/views/header.php | PHP | asf20 | 2,305 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img src="<?php echo base_url();?>assets/themes/planetjazz/images/communities_dig-u359.png" /></a>
<iframe id="single-banner" src="<?php echo base_url().'planetjazz/ads/pj-single';?>... | zwanv5 | trunk/system/application/modules/planetjazz/views/tags_modal.php | PHP | asf20 | 6,079 |
<input type="hidden" value="<?php echo $community->intID; ?>" id="community">
<div class="navbar-fixed-top navbar sc-nav">
<div class="navbar-inner">
<div class="container" id="ss-bar">
<ul class="nav">
<li><a href="#home" id="home-trigger" class="scroll-to"><img src="<?php echo bas... | zwanv5 | trunk/system/application/modules/planetjazz/views/content_old.php | PHP | asf20 | 15,387 |
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<!-- datepicker... | zwanv5 | trunk/system/application/modules/planetjazz/views/header_content.php | PHP | asf20 | 2,943 |
<?php
/*
The content is retrieved in arrays by Scontent types:
$content['news']
$content['features']
$content['reviews']
$content['blogs']
$content['gallery']
$content['show']
all enabled content is retrieved by the controller
*/
//Unhash to print content array
#print_r($conte... | zwanv5 | trunk/system/application/modules/planetjazz/views/content.php | PHP | asf20 | 30,870 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_poster extends CI_Model {
function post_data($table,$post,$update=null)
{
if($update==null)
$this->db->insert($table,$post);
else
{
$this->db
->where('intId',$update)
->update($table,$post);
}
... | zwanv5 | trunk/system/application/modules/planetjazz/models/data_poster.php | PHP | asf20 | 1,103 |
<?php
/*Feed Fetcher Model*/
class Feeds extends CI_Model {
function fetch_latest_feeds($community,$amount=null,$offset=0,$type)
{
$this->db->select('*');
$this->db->where(array('fk-tb_mas_community'=>$community,'enumEnabled'=>'enabled','fk-tb_mas_content_types'=>$type));
$this->db->order_by('dteSt... | zwanv5 | trunk/system/application/modules/planetjazz/models/feeds.php | PHP | asf20 | 2,328 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_fetcher extends CI_Model {
function fetch_table($table,$order=null,$limit=null,$where=null)
{
if($order!=null)
$this->db->order_by($order[0],$order[1]);
elseif($table == 'tb_mas_content')
$this->db->... | zwanv5 | trunk/system/application/modules/planetjazz/models/data_fetcher.php | PHP | asf20 | 3,492 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community_model extends CI_Model {
function fetch_community_data($name)
{
$data = $this->db
->get_where('tb_mas_community',array('strName'=>$name))
->first_row();
return $data;
}
... | zwanv5 | trunk/system/application/modules/planetjazz/models/community_model.php | PHP | asf20 | 5,415 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community extends CI_Controller {
protected $ajax_increment;
public function __construct($community)
{
parent::__construct();
$this->load->model('community_model');
$this->load->model('feeds');
$this->l... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/community.php | PHP | asf20 | 9,161 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/src/base_facebook.php | PHP | asf20 | 42,802 |
<?php
// vim: foldmethod=marker
/* Generic exception class
*/
class OAuthException extends Exception {
// pass
}
class OAuthConsumer {
public $key;
public $secret;
function __construct($key, $secret, $callback_url=NULL) {
$this->key = $key;
$this->secret = $secret;
$this->callback_url = $callbac... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/src/twitteroauth/OAuth.php | PHP | asf20 | 26,478 |
<?php
/*
* Abraham Williams (abraham@abrah.am) http://abrah.am
*
* The first PHP Library to support OAuth for Twitter's REST API.
*/
/* Load OAuth lib. You can find it at http://oauth.net */
require_once('OAuth.php');
/**
* Twitter OAuth class
*/
class TwitterOAuth {
/* Contains the last HTTP status code ret... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/src/twitteroauth/twitteroauth.php | PHP | asf20 | 7,755 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/src/facebook.php | PHP | asf20 | 5,217 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once('src/facebook.php');
require_once('community.php');
class Planetjazz extends Community {
public function __construct()
{
//call on community constructor
parent::__construct('planetjazz');
//increments for... | zwanv5 | trunk/system/application/modules/planetjazz/controllers/planetjazz.php | PHP | asf20 | 1,991 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap-datepicker.js';?>"></... | zwanv5 | trunk/system/application/modules/riceradio/views/single_footer.php | PHP | asf20 | 3,416 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png" /></a>
<iframe id="single-banner" src="<?php echo base_url().'riceradio/ads/dig-single';?>"></ifra... | zwanv5 | trunk/system/application/modules/riceradio/views/archive_gallery.php | PHP | asf20 | 5,734 |
<div class="content" style="width:1050px;margin:10px 0px auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img id="article-logo" src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png"/></a>
<iframe id="single-banner" src="<?php echo base_url().'digradio/ads_s... | zwanv5 | trunk/system/application/modules/riceradio/views/shows_modal.php | PHP | asf20 | 3,224 |
<body style= "background:#000 url(../images/bt-color-bg.jpg) left top fixed; background-size:cover !important;">
<div class="content" style="width:900px;margin:100px auto; background-color:#fff;opacity:0.8; border-radius: 4px 4px 4px 4px;">
<div id="signup-form-container">
<div id="register-modal" class="window"> ... | zwanv5 | trunk/system/application/modules/riceradio/views/disabled_content.php | PHP | asf20 | 1,672 |
<html>
<head>
<style type="text/css">
html,body,img
{
height:<?php echo $ad['intHeight'].'px'; ?>;
width:<?php echo $ad['intWidth'].'px'; ?>;
margin:0;
padding:0;
}
</style... | zwanv5 | trunk/system/application/modules/riceradio/views/ad_view.php | PHP | asf20 | 1,230 |
<?php if(empty($feeds)): ?>
<h3>Error</h3>
<?php else:
foreach($feeds as $item):
?>
<div class="content-item">
<div class="span3 item-image">
<img src="<?php echo base_url().IMAGE_UPLOAD_DIR.$item['strPicture']; ?>"/>
</div>
<div class="span3 item-text">
<h4>
<a class="modal-tr... | zwanv5 | trunk/system/application/modules/riceradio/views/ajax_feed.php | PHP | asf20 | 1,247 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="gallery-header">
<a target="_parent" href="<?php echo base_url(); ?>riceradio"><img src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png" /></a>
<iframe id="single-banner" src="<?php e... | zwanv5 | trunk/system/application/modules/riceradio/views/single_content_gallery.php | PHP | asf20 | 5,656 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a target="_parent" href="<?php echo base_url(); ?>riceradio"><img src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png" /></a>
<iframe id="single-banner" src="<?php echo ... | zwanv5 | trunk/system/application/modules/riceradio/views/single_content.php | PHP | asf20 | 6,816 |
<!--Javascript-->
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap.min.js';?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/bootstrap-datepicker.js';?>"></... | zwanv5 | trunk/system/application/modules/riceradio/views/footer.php | PHP | asf20 | 7,918 |
<div class="content" style="width:1050px;margin:10px 0px auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img id="article-logo" src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png"/></a>
<iframe id="single-banner" src="<?php echo base_url().'riceradio/ads/... | zwanv5 | trunk/system/application/modules/riceradio/views/event_modal.php | PHP | asf20 | 6,494 |
<!DOCTYPE html>
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<!--
<PageMap>
<DataObject type="document">
<Attribute name="title">Digradio.ph</Attribute>
<Attribute name="author">Pinoytuner</Attribute>
<Attribute name="description">Digradio We, Here, You </Attr... | zwanv5 | trunk/system/application/modules/riceradio/views/header.php | PHP | asf20 | 2,494 |
<div class="content" style="width:1050px;margin:0 auto;">
<!---------- HEADER ---------->
<div class="article-header">
<a href="#"><img src="<?php echo base_url();?>assets/themes/riceradio/images/rice-logo.png" /></a>
<iframe id="single-banner" src="<?php echo base_url().'riceradio/ads/dig-single';?>"></ifra... | zwanv5 | trunk/system/application/modules/riceradio/views/tags_modal.php | PHP | asf20 | 5,030 |
<input type="hidden" value="<?php echo $community->intID; ?>" id="community">
<div class="navbar-fixed-top navbar sc-nav">
<div class="navbar-inner">
<div class="container" id="ss-bar">
<ul class="nav">
<li><a href="#home" id="home-trigger" class="scroll-to"><img src="<?php echo bas... | zwanv5 | trunk/system/application/modules/riceradio/views/content_old.php | PHP | asf20 | 15,381 |
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<!--CSS-->
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css"/>
<!-- datepicker... | zwanv5 | trunk/system/application/modules/riceradio/views/header_content.php | PHP | asf20 | 2,222 |
<?php
/*
The content is retrieved in arrays by content types:
$content['news']
$content['features']
$content['reviews']
$content['blogs']
$content['gallery']
$content['show']
all enabled content is retrieved by the controller
*/
//Unhash to print content array
#print_r($content... | zwanv5 | trunk/system/application/modules/riceradio/views/content.php | PHP | asf20 | 32,740 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_poster extends CI_Model {
function post_data($table,$post,$update=null)
{
if($update==null)
$this->db->insert($table,$post);
else
{
$this->db
->where('intId',$update)
->update($table,$post);
}
... | zwanv5 | trunk/system/application/modules/riceradio/models/data_poster.php | PHP | asf20 | 1,103 |
<?php
/*Feed Fetcher Model*/
class Feeds extends CI_Model {
function fetch_latest_feeds($community,$amount=null,$offset=0,$type)
{
$this->db->select('*');
$this->db->where(array('fk-tb_mas_community'=>$community,'enumEnabled'=>'enabled','fk-tb_mas_content_types'=>$type));
$this->db->order_by('dteSt... | zwanv5 | trunk/system/application/modules/riceradio/models/feeds.php | PHP | asf20 | 2,328 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Data_fetcher extends CI_Model {
function fetch_table($table,$order=null,$limit=null,$where=null)
{
if($order!=null)
$this->db->order_by($order[0],$order[1]);
elseif($table == 'tb_mas_content')
$this->db->... | zwanv5 | trunk/system/application/modules/riceradio/models/data_fetcher.php | PHP | asf20 | 3,495 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community_model extends CI_Model {
function fetch_community_data($name)
{
$data = $this->db
->get_where('tb_mas_community',array('strName'=>$name))
->first_row();
return $data;
}
... | zwanv5 | trunk/system/application/modules/riceradio/models/community_model.php | PHP | asf20 | 5,744 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once('src/facebook.php');
require_once('community.php');
class Riceradio extends Community {
public function __construct()
{
//call on community constructor
parent::__construct('riceradio');
//increments for a... | zwanv5 | trunk/system/application/modules/riceradio/controllers/riceradio.php | PHP | asf20 | 2,154 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Community extends CI_Controller {
protected $ajax_increment;
public function __construct($community)
{
parent::__construct();
$this->load->model('community_model');
$this->load->model('feeds');
$this->l... | zwanv5 | trunk/system/application/modules/riceradio/controllers/community.php | PHP | asf20 | 9,178 |
<?php
/**
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | zwanv5 | trunk/system/application/modules/riceradio/controllers/src/base_facebook.php | PHP | asf20 | 42,802 |