code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Asort extends Controller { public function before() { parent::before(); if (!Cookie::get('admin', null) || !$this->request->is_ajax()) die('Access denied'); } public function action_set() { t...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Asort.php
PHP
asf20
753
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Ahasmany extends Controller { public function before() { parent::before(); if (!Cookie::get('admin', null) || !$this->request->is_ajax()) die('Access denied'); } public function action_add() { ...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Ahasmany.php
PHP
asf20
3,185
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Asitetext extends ORM { protected $_table_name = 'sitetext'; public function params() { return array( 'model' => 'Asitetext', 'table' => 'sitetext', 'fields' => array( '...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Asitetext.php
PHP
asf20
919
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Aadmins extends ORM { protected $_table_name = 'admins'; public function currentUser() { return DB::select() ->from('admins') ->where('id', '=', Cookie::get('admin', null)) ->execute() ->as_array(); } public f...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Aadmins.php
PHP
asf20
1,652
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Asettings extends ORM { protected $_table_name = 'settings'; public function getSettings() { return DB::select() ->from('settings') ->order_by('id', 'ASC') ->execute() ->as_array('_key'); } }
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Asettings.php
PHP
asf20
296
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Abackground extends ORM { protected $_table_name = 'background'; public function params() { return array( 'model' => 'Abackground', 'table' => 'background', 'fields' => array( ...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Abackground.php
PHP
asf20
1,604
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Apages extends ORM { protected $_table_name = 'pages'; public function params() { return array( 'model' => 'Apages', 'table' => 'pages', 'fields' => array( 'link' => array(...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Apages.php
PHP
asf20
1,179
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Asocial extends ORM { protected $_table_name = 'social'; public function params() { return array( 'model' => 'Asocial', 'table' => 'social', 'fields' => array( 'title' => a...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Asocial.php
PHP
asf20
1,815
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Avideo extends ORM { protected $_table_name = 'video'; public function params() { return array( 'model' => 'Avideo', 'table' => 'video', 'fields' => array( 'category_id' =>...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Avideo.php
PHP
asf20
2,505
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Aphoto extends ORM { protected $_table_name = 'photo'; public function params() { return array( 'model' => 'Aphoto', 'view' => 'apieces/abase/aphotoList', 'table' => 'photo', '...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Aphoto.php
PHP
asf20
2,803
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Avideocat extends ORM { protected $_table_name = 'videocat'; public function params() { return array( 'model' => 'Avideocat', 'table' => 'videocat', 'fields' => array( 'tit...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Avideocat.php
PHP
asf20
806
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Aphotocat extends ORM { protected $_table_name = 'photocat'; public function params() { return array( 'model' => 'Aphotocat', 'table' => 'photocat', 'fields' => array( 'ti...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Aphotocat.php
PHP
asf20
807
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Afunctions extends Model { public static function parseMonth($month) { switch($month) { case 1: $ret='января'; break; case 2: $ret='февраля'; break; case 3: $ret='марта'; break; ...
zuber-personal-page
trunk/personal/modules/administration/classes/Model/Afunctions.php
PHP
asf20
1,550
<?php defined('SYSPATH') or die('No direct script access.'); return array( // Application defaults 'default' => array( 'current_page' => array('source' => 'query_string', 'key' => 'page'), // source: "query_string" or "route" 'total_items' => 0, 'items_per_page' => 10, 'view' => '...
zuber-personal-page
trunk/personal/modules/pagination/config/pagination.php
PHP
asf20
410
<?php /* First Previous 1 2 3 ... 22 23 24 25 26 [27] 28 29 30 31 32 ... 48 49 50 Next Last */ // Number of page links in the begin and end of whole range $count_out = ( ! empty($config['count_out'])) ? (int) $config['count_out'] : 3; // Number of page links on each side of current page $count_in = ( ! empty($config[...
zuber-personal-page
trunk/personal/modules/pagination/views/pagination/floating.php
PHP
asf20
2,464
<p class="pagination"> <?php if ($first_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($first_page)) ?>" rel="first"><?php echo __('First') ?></a> <?php else: ?> <?php echo __('First') ?> <?php endif ?> <?php if ($previous_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($previ...
zuber-personal-page
trunk/personal/modules/pagination/views/pagination/basic.php
PHP
asf20
1,119
<p class="pagination"> <?php if ($first_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($first_page)) ?>" rel="first"><?php echo 'Первая' ?></a>&nbsp;&nbsp;&nbsp; <?php endif ?> <?php if ($previous_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($previous_page)) ?>" rel="prev"><?p...
zuber-personal-page
trunk/personal/modules/pagination/views/pagination/admin.php
PHP
asf20
1,144
<p class="pagination"> <?php if ($first_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($first_page)) ?>" rel="first"><?php echo __('First') ?></a>&nbsp;&nbsp;&nbsp; <?php endif ?> <?php if ($previous_page !== FALSE): ?> <a href="<?php echo HTML::chars($page->url($previous_page)) ?>" rel="prev">...
zuber-personal-page
trunk/personal/modules/pagination/views/pagination/basic_en.php
PHP
asf20
1,113
<div class="menu_cont page_cont"> <?php if ($first_page !== FALSE): ?> <div><a href="<?php echo HTML::chars($page->url($first_page)) ?>" rel="first"><?php echo 'Первая' ?></a></div> <?php endif ?> <?php if ($previous_page !== FALSE): ?> <div><a href="<?php echo HTML::chars($page->url($previous_page)) ?>" rel="...
zuber-personal-page
trunk/personal/modules/pagination/views/pagination/basic_ru.php
PHP
asf20
1,030
<?php defined('SYSPATH') or die('No direct script access.'); /** * Pagination links generator. * * @package Kohana/Pagination * @category Base * @author Kohana Team * @copyright (c) 2008-2009 Kohana Team * @license http://kohanaphp.com/license.html */ class Kohana_Pagination { // Merged configura...
zuber-personal-page
trunk/personal/modules/pagination/classes/Kohana/Pagination.php
PHP
asf20
10,148
<?php defined('SYSPATH') or die('No direct script access.'); class Pagination extends Kohana_Pagination {}
zuber-personal-page
trunk/personal/modules/pagination/classes/Pagination.php
PHP
asf20
107
<?php defined('SYSPATH') OR die('No direct access allowed.'); return array( /** * SwiftMailer driver, used with the email module. * * Valid drivers are: native, sendmail, smtp */ 'driver' => 'native', /** * To use secure connections with SMTP, set "port" to 465 instead of 25. * To enable TLS, set "encr...
zuber-personal-page
trunk/personal/modules/email/config/email.php
PHP
asf20
1,060
<?php defined('SYSPATH') OR die('No direct access allowed.'); /** * Email module * * Ported from Kohana 2.2.3 Core to Kohana 3.0 module * * Updated to use Swiftmailer 4.0.4 * * @package Core * @author Kohana Team * @copyright (c) 2007-2008 Kohana Team * @license http://kohanaphp.com/license.html ...
zuber-personal-page
trunk/personal/modules/email/classes/Email.php
PHP
asf20
3,683
<?php defined('SYSPATH') or die('No direct script access.'); /** * @package Captcha * * Captcha configuration is defined in groups which allows you to easily switch * between different Captcha settings for different forms on your website. * Note: all groups inherit and overwrite the default group. * * Group Opt...
zuber-personal-page
trunk/personal/application/config/captcha.php
PHP
asf20
2,029
<?php defined('SYSPATH') or die('No direct access allowed.'); return array ( 'default' => array ( 'type' => 'MySQL', 'connection' => array( /** * The following options are available for MySQL: * * string hostname server hostname, or socket * string database database name ...
zuber-personal-page
trunk/personal/application/config/database.php
PHP
asf20
986
<?php defined('SYSPATH') OR die('No direct access allowed.'); return array( /** * SwiftMailer driver, used with the email module. * * Valid drivers are: native, sendmail, smtp */ 'driver' => 'smtp', /** * To use secure connections with SMTP, set "port" to 465 instead of 25. * To enable TLS, set "encryp...
zuber-personal-page
trunk/personal/application/config/email.php
PHP
asf20
1,233
<?php defined('SYSPATH') or die('No direct script access.'); // Application config return array( 'items_per_page' => 10, 'photos_per_page' => 12, 'feedback_mail' => 'eokz@bk.ru' );
zuber-personal-page
trunk/personal/application/config/main.php
PHP
asf20
195
<?php defined('SYSPATH') or die('No direct script access.'); return array( // Application defaults 'default' => array( 'current_page' => array('source' => 'route', 'key' => 'page'), // source: "query_string" or "route" 'total_items' => 0, 'items_per_page' => 10, 'v...
zuber-personal-page
trunk/personal/application/config/pagination.php
PHP
asf20
446
<!-- <div class="left_arrow"></div> <div class="right_arrow"></div> -->
zuber-personal-page
trunk/personal/application/views/pages/index.php
Hack
asf20
71
<div class="text_cont"> <h1><?= $page->title ?></h1> <p><?= $page->text ?></p> </div>
zuber-personal-page
trunk/personal/application/views/pages/page.php
PHP
asf20
90
<div style="clear: both;"></div> <div class="cont"> <? foreach ($social as $key => $value): ?> <? if (!empty($value->link)): ?> <div class="social"><a href="<?= $value->link ?>"><img src="<?= URL::site('static/uploads/social/'.$value->image) ?>" alt="" /><?= $value->title ?></a></div> <? else: ?> <div class=...
zuber-personal-page
trunk/personal/application/views/pages/contacts.php
PHP
asf20
543
<div class="body_center"> <div class="error"> <div class="header"> Oops! </div> <div class="text"> <?= $message ?> </div> </div> </div>
zuber-personal-page
trunk/personal/application/views/errors/default.php
PHP
asf20
151
<div class="text_cont"> <div class="error"> <div class="header">404</div> <div>Запрашиваемая страница не существует. Вернуться <a href="<?= URL::base() ?>">на главную</a></div> </div> </div>
zuber-personal-page
trunk/personal/application/views/errors/404.php
PHP
asf20
247
<style type="text/css"> .fancybox-nav { display: none; } </style> <div style="clear: both;"></div> <div class="text_cont"> <div class="video_cont"> <? foreach ($videos as $key => $value): ?> <a class="fancybox fancybox.iframe" rel="gallery" href="<? preg_match('/(http:[^"]+)/i', $value->video, $match...
zuber-personal-page
trunk/personal/application/views/pieces/videos.php
PHP
asf20
680
<div style="clear: both;"></div> <? foreach ($submenu[0] as $key => $value): ?> <div class="popup_menu" style="float: left"> <? if ($item_id == $value->id): ?> <div class="active_black"><span></span><?= $value->title ?></div> <? else: ?> <div><a href="<?= URL::site($submenu[1].'/'.$value->id) ?>" class...
zuber-personal-page
trunk/personal/application/views/pieces/submenu.php
PHP
asf20
406
<script type="text/javascript" src="<?= URL::site('static/js/share42/share42.js') ?>"></script> <div class="footer"> <div style="float: left; margin: 8px 0px 0px 30px;"><p>© Zuber, <?= date('Y') ?></p></div> <div class="zuber"><a href="http://zuber.kz" title="Разработка сайта"><img src="<?= URL::site('static/css/imag...
zuber-personal-page
trunk/personal/application/views/pieces/footer.php
PHP
asf20
457
<div class="pattern"></div> <div class="name"><?= $sitetext['my_name']['_value'] ?><br /><?= $sitetext['my_surname']['_value'] ?></div> <div style="overflow: hidden; margin-bottom: 15px"> <div class="menu_cont"> <? foreach ($menu as $key => $value): ?> <? if (($c_url == '/'.$value->link) || ($c_url == '' && ($val...
zuber-personal-page
trunk/personal/application/views/pieces/header.php
PHP
asf20
757
<div style="clear: both;"></div> <div class="text_cont"> <div class="foto_cont"> <? foreach ($photos as $key => $value): ?> <div class="foto"> <a href="<?= URL::site('static/uploads/photo/'.$value->image) ?>" class="fancybox" rel="group"><img data-src="holder.js/210x160" style="width: 210px; height: 160p...
zuber-personal-page
trunk/personal/application/views/pieces/photos.php
PHP
asf20
507
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-02-22 16:41:42 --- CRITICAL: ErrorException [ 1 ]: Class 'Model_Asettings' not found ~ SYSPATH\classes\Kohana\Model.php [ 26 ] in : 2013-02-22 16:41:42 --- DEBUG: #0 [internal function]: Kohana_Core::shutdown_handler() #1 {main} in : 2013-02-22 1...
zuber-personal-page
trunk/personal/application/logs/2013/02/22.php
PHP
asf20
2,694
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-02 02:58:35 --- CRITICAL: ErrorException [ 8 ]: Undefined index: tabs-view ~ MODPATH\administration\views\apieces\abase\adefaultContent.php [ 1 ] in C:\openserver\domains\zuber.lc\modules\administration\views\apieces\abase\adefaultContent.php:1 ...
zuber-personal-page
trunk/personal/application/logs/2013/01/02.php
PHP
asf20
17,511
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-14 10:05:01 --- CRITICAL: Database_Exception [ 1146 ]: Table 'personal.services' doesn't exist [ SHOW FULL COLUMNS FROM `services` ] ~ MODPATH\database\classes\Kohana\Database\MySQL.php [ 194 ] in C:\openserver\domains\personal\modules\database\...
zuber-personal-page
trunk/personal/application/logs/2013/01/14.php
PHP
asf20
410,034
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-01 01:10:14 --- CRITICAL: ErrorException [ 8 ]: Undefined variable: tdbg ~ MODPATH\administration\views\apieces\acontentList.php [ 28 ] in C:\openserver\domains\zuber.lc\modules\administration\views\apieces\acontentList.php:28 2013-01-01 01:10:...
zuber-personal-page
trunk/personal/application/logs/2013/01/01.php
PHP
asf20
75,383
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-11 10:30:41 --- CRITICAL: Database_Exception [ 1049 ]: Unknown database 'personal' ~ MODPATH\database\classes\Kohana\Database\MySQL.php [ 108 ] in C:\openserver\domains\personal\modules\database\classes\Kohana\Database\MySQL.php:75 2013-01-11 1...
zuber-personal-page
trunk/personal/application/logs/2013/01/11.php
PHP
asf20
57,973
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-15 10:00:54 --- CRITICAL: ErrorException [ 8 ]: Undefined variable: submenu ~ APPPATH\views\pieces\header.php [ 17 ] in C:\openserver\domains\personal\application\views\pieces\header.php:17 2013-01-15 10:00:54 --- DEBUG: #0 C:\openserver\domain...
zuber-personal-page
trunk/personal/application/logs/2013/01/15.php
PHP
asf20
731,529
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-09 14:25:44 --- CRITICAL: ErrorException [ 1 ]: Class 'Model_Avideocat' not found ~ SYSPATH\classes\Kohana\Model.php [ 26 ] in : 2013-01-09 14:25:44 --- DEBUG: #0 [internal function]: Kohana_Core::shutdown_handler() #1 {main} in : 2013-01-09 1...
zuber-personal-page
trunk/personal/application/logs/2013/01/09.php
PHP
asf20
10,692
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2013-01-03 00:00:41 --- CRITICAL: ErrorException [ 8 ]: Undefined property: Database_Query_Builder_Select::$where ~ MODPATH\administration\classes\Controller\Abase\Asearch.php [ 21 ] in C:\openserver\domains\zuber.lc\modules\administration\classes\Contr...
zuber-personal-page
trunk/personal/application/logs/2013/01/03.php
PHP
asf20
48,478
<?php defined('SYSPATH') or die('No direct script access.'); ?> 2012-03-26 09:13:53 --- ERROR: Kohana_Exception [ 0 ]: Attempted to load an invalid or missing module 'minion' at 'MODPATH/minion' ~ SYSPATH/classes/kohana/core.php [ 542 ] 2012-03-26 09:13:53 --- STRACE: Kohana_Exception [ 0 ]: Attempted to load an inval...
zuber-personal-page
trunk/personal/application/logs/2012/03/26.php
PHP
asf20
2,018
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2012-06-25 14:45:57 --- EMERGENCY: Kohana_Exception [ 0 ]: Cannot create instances of abstract Controller_Template ~ SYSPATH/classes/Kohana/Request/Client/Internal.php [ 87 ] in /home/vagrant/web-app/kohana-3.3/system/classes/Kohana/Request/Client.php:114...
zuber-personal-page
trunk/personal/application/logs/2012/06/25.php
PHP
asf20
3,020
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2012-10-22 20:30:54 --- EMERGENCY: ErrorException [ 1 ]: Call to undefined method Kohana_HTTPTest::assertType() ~ SYSPATH/tests/kohana/HTTPTest.php [ 79 ] in : 2012-10-22 20:30:54 --- DEBUG: #0 [internal function]: Kohana_Core::shutdown_handler() #1 {main...
zuber-personal-page
trunk/personal/application/logs/2012/10/22.php
PHP
asf20
9,509
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2012-12-28 21:11:02 --- CRITICAL: Kohana_Exception [ 0 ]: Attempted to load an invalid or missing module 'pagination' at 'MODPATH\pagination' ~ SYSPATH\classes\Kohana\Core.php [ 579 ] in C:\openserver\domains\kohana\application\bootstrap.php:124 2012-1...
zuber-personal-page
trunk/personal/application/logs/2012/12/28.php
PHP
asf20
59,710
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2012-12-30 20:26:02 --- CRITICAL: Database_Exception [ 1054 ]: Unknown column 'says.sort' in 'order clause' [ SELECT `says`.`content` AS `content`, `says`.`say` AS `say`, `says`.`image`, `team`.`fio` AS `fio`, `team`.`post` AS `post`, `team`.`image` AS ...
zuber-personal-page
trunk/personal/application/logs/2012/12/30.php
PHP
asf20
1,763
<?php defined('SYSPATH') OR die('No direct script access.'); ?> 2012-12-29 00:20:48 --- CRITICAL: ErrorException [ 1 ]: Class 'Controller_Common' not found ~ APPPATH\classes\Controller\Index.php [ 3 ] in : 2012-12-29 00:20:48 --- DEBUG: #0 [internal function]: Kohana_Core::shutdown_handler() #1 {main} in :
zuber-personal-page
trunk/personal/application/logs/2012/12/29.php
PHP
asf20
311
<?php defined('SYSPATH') or die('No direct script access.'); abstract class Controller_Common extends Controller_Template { public $postfix; public $_config; public $sitetext; public function before() { parent::before(); $this->_config = Kohana::$config->load('main'); $this->site...
zuber-personal-page
trunk/personal/application/classes/Controller/Common.php
PHP
asf20
1,494
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Myvideo extends Controller_Common { public $template = 'layout/index'; public function action_index() { $current_category = DB::select()->from('videocat')->order_by('sort', 'DESC')->limit(1)->as_object()->execute()->current(); ...
zuber-personal-page
trunk/personal/application/classes/Controller/Myvideo.php
PHP
asf20
1,510
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Page extends Controller_Common { public $template='layout/index'; public function action_one() { $page = ORM::factory('Pages')->getOne($this->postfix, $this->request->param('id')); if (!empty($page)) { $this->buildCarca...
zuber-personal-page
trunk/personal/application/classes/Controller/Page.php
PHP
asf20
616
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Index extends Controller_Common { public $template='layout/index'; public function action_index() { $this->buildCarcas(); $this->template->content = View::factory('pages/index'); } }
zuber-personal-page
trunk/personal/application/classes/Controller/Index.php
PHP
asf20
273
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Contacts extends Controller_Common { public $template='layout/index'; public function action_index() { $this->buildCarcas(); $this->template->title .= ' - Контакты'; $this->template->content = View::factory('pages/contacts', array...
zuber-personal-page
trunk/personal/application/classes/Controller/Contacts.php
PHP
asf20
436
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Myphoto extends Controller_Common { public $template = 'layout/index'; public function action_index() { $current_category = DB::select()->from('photocat')->order_by('sort', 'DESC')->limit(1)->as_object()->execute()->current(); ...
zuber-personal-page
trunk/personal/application/classes/Controller/Myphoto.php
PHP
asf20
1,508
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Date { public function parseDate($date, $lang) { // Y-m-d $date = explode('-', $date); $y = $date[0]; $m = $date[1]; $d = $date[2]; $month = array( '01' => array( 'ru' => 'Январь', ...
zuber-personal-page
trunk/personal/application/classes/Model/Date.php
PHP
asf20
1,733
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Sitetext extends ORM { protected $_table_name = 'sitetext'; public function getAll($postfix) { return DB::select('_key', array('_value'.$postfix, '_value')) ->from($this->_table_name) ->execute() ->as_array('_key'); } ...
zuber-personal-page
trunk/personal/application/classes/Model/Sitetext.php
PHP
asf20
322
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Video extends ORM { protected $_table_name = 'video'; public function getCategoryList($id, $offset) { $photos_per_page = Kohana::$config->load('main')->photos_per_page; return DB::select() ->from($this->_table_name) ->whe...
zuber-personal-page
trunk/personal/application/classes/Model/Video.php
PHP
asf20
524
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Photo extends ORM { protected $_table_name = 'photo'; public function getCategoryList($id, $offset) { $photos_per_page = Kohana::$config->load('main')->photos_per_page; return DB::select() ->from($this->_table_name) ->whe...
zuber-personal-page
trunk/personal/application/classes/Model/Photo.php
PHP
asf20
524
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Videocat extends ORM { protected $_table_name = 'videocat'; public function getAll() { return DB::select() ->from($this->_table_name) ->order_by('sort', 'DESC') ->as_object() ->execute(); } public function getOne...
zuber-personal-page
trunk/personal/application/classes/Model/Videocat.php
PHP
asf20
469
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Menu extends ORM { protected $_table_name = 'menu'; public function getAll($postfix) { return DB::select('id', array('title'.$postfix, 'title'), 'link') ->from($this->_table_name) ->as_object()->execute(); } }
zuber-personal-page
trunk/personal/application/classes/Model/Menu.php
PHP
asf20
306
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Pages extends ORM { protected $_table_name = 'pages'; public function getOne($postfix, $link) { return DB::select('id', 'link', array('title'.$postfix, 'title'), array('text'.$postfix, 'text')) ->from($this->_table_name) ->whe...
zuber-personal-page
trunk/personal/application/classes/Model/Pages.php
PHP
asf20
400
<?php defined('SYSPATH') or die('No direct script access.'); class Model_Photocat extends ORM { protected $_table_name = 'photocat'; public function getAll() { return DB::select() ->from($this->_table_name) ->order_by('sort', 'DESC') ->as_object() ->execute(); } public function getOne...
zuber-personal-page
trunk/personal/application/classes/Model/Photocat.php
PHP
asf20
469
<?php defined('SYSPATH') or die('No direct script access.'); class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 { /** * Generate a Response for the 404 Exception. * * The user should be shown a nice 404 page. * * @return Response */ public $_config; publ...
zuber-personal-page
trunk/personal/application/classes/HTTP/Exception/404.php
PHP
asf20
2,106
<?php defined('SYSPATH') or die('No direct script access.'); class HTTP_Exception extends Kohana_HTTP_Exception { /** * Generate a Response for all Exceptions without a more specific override * * The user should see a nice error page, however, if we are in development * mode we shoul...
zuber-personal-page
trunk/personal/application/classes/HTTP/Exception.php
PHP
asf20
2,380
<?php defined('SYSPATH') or die('No direct script access.'); // -- Environment setup -------------------------------------------------------- // Load the core Kohana class require SYSPATH.'classes/Kohana/Core'.EXT; if (is_file(APPPATH.'classes/Kohana'.EXT)) { // Application extends the core require APPPATH.'classe...
zuber-personal-page
trunk/personal/application/bootstrap.php
PHP
asf20
6,143
<?php /** * The directory in which your application specific resources are located. * The application directory must contain the bootstrap.php file. * * @link http://kohanaframework.org/guide/about.install#application */ $application = 'application'; /** * The directory in which your modules are located. * * ...
zuber-personal-page
trunk/personal/index.php
PHP
asf20
3,631
<?php defined('SYSPATH') OR die('No direct script access.'); /** * A list of mime types. Our list is generally more complete and accurate than * the operating system MIME list. * * If there are any missing options, please create a ticket on our issue tracker, * http://kohanaphp.com/trac/newticket. Be sure to give ...
zuber-personal-page
trunk/personal/system/config/mimes.php
PHP
asf20
10,286
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'cookie' => array( 'encrypted' => FALSE, ), );
zuber-personal-page
trunk/personal/system/config/session.php
PHP
asf20
127
<?php defined('SYSPATH') OR die('No direct script access.'); /** * Credit card validation configuration. * * Options for each credit card: * length - All the allowed card number lengths, in a comma separated string * prefix - The digits the card needs to start with, in regex format * luhn - Enable or disable...
zuber-personal-page
trunk/personal/system/config/credit_cards.php
PHP
asf20
1,169
<?php defined('SYSPATH') OR die('No direct script access.'); return array( // Leave this alone 'modules' => array( // This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename' 'kohana' => array( // Whether this modules userguide pages shoul...
zuber-personal-page
trunk/personal/system/config/userguide.php
PHP
asf20
698
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'platform' => array( 'windows nt 6.2' => 'Windows 8', 'windows nt 6.1' => 'Windows 7', 'windows nt 6.0' => 'Windows Vista', 'windows nt 5.2' => 'Windows 2003', 'windows nt 5.1' => 'Windows XP', 'windows nt 5.0' => 'Windows 2000', ...
zuber-personal-page
trunk/personal/system/config/user_agents.php
PHP
asf20
3,465
<?php defined('SYSPATH') OR die('No direct script access.'); return array( CURLOPT_USERAGENT => 'Mozilla/5.0 (compatible; Kohana v'.Kohana::VERSION.' +http://kohanaframework.org/)', CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_TIMEOUT => 5, CURLOPT_HEADER => FALSE, );
zuber-personal-page
trunk/personal/system/config/curl.php
PHP
asf20
285
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'default' => array( /** * The following options must be set: * * string key secret passphrase * integer mode encryption mode, one of MCRYPT_MODE_* * integer cipher encryption cipher, one of the Mcrpyt cipher const...
zuber-personal-page
trunk/personal/system/config/encrypt.php
PHP
asf20
406
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'uncountable' => array( 'access', 'advice', 'aircraft', 'art', 'baggage', 'bison', 'dances', 'deer', 'equipment', 'fish', 'fuel', 'furniture', 'heat', 'honey', 'homework', 'impatience', 'information', 'know...
zuber-personal-page
trunk/personal/system/config/inflector.php
PHP
asf20
1,750
<?php // Get the latest logo contents $data = base64_encode(file_get_contents('http://kohanaframework.org/media/img/kohana.png')); // Create the logo file file_put_contents('logo.php', "<?php /** * Kohana Logo, base64_encoded PNG * * @copyright (c) 2008-2012 Kohana Team * @license http://kohanaframework.org/...
zuber-personal-page
trunk/personal/system/views/kohana/generate_logo.php
PHP
asf20
395
<?php // Unique error identifier $error_id = uniqid('error'); ?> <style type="text/css"> #kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; } #kohana_error h1, #kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color...
zuber-personal-page
trunk/personal/system/views/kohana/error.php
PHP
asf20
5,754
.kohana table.profiler { width: 99%; margin: 0 auto 1em; border-collapse: collapse; } .kohana table.profiler th, .kohana table.profiler td { padding: 0.2em 0.4em; background: #fff; border: solid 1px #999; border-width: 1px 0; text-align: left; font-weight: normal; font-size: 1em; color: #111; vertical-align: top; text-...
zuber-personal-page
trunk/personal/system/views/profiler/style.css
CSS
asf20
2,208
<?php defined('SYSPATH') OR die('No direct script access.') ?> <style type="text/css"> <?php include Kohana::find_file('views', 'profiler/style', 'css') ?> </style> <?php $group_stats = Profiler::group_stats(); $group_cols = array('min', 'max', 'average', 'total'); $application_cols = array('min', 'max', '...
zuber-personal-page
trunk/personal/system/views/profiler/stats.php
PHP
asf20
3,022
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'alpha' => ':field must contain only letters', 'alpha_dash' => ':field must contain only numbers, letters and dashes', 'alpha_numeric' => ':field must contain only letters and numbers', 'color' => ':field must be a color'...
zuber-personal-page
trunk/personal/system/messages/validation.php
PHP
asf20
1,432
<?php defined('SYSPATH') OR die('No direct script access.'); return array( 'email' => array( 'custom' => 'very nice email address you have there', ), );
zuber-personal-page
trunk/personal/system/messages/tests/validation/error_type_check.php
PHP
asf20
158
<?php /** * A holding class for route callback tests * * @group kohana * * @package Unittest * @author Kohana Team * @copyright (c) 2008-2012 Kohana Team * @license http://kohanaframework.org/license */ class Route_Holder { /** * Just an empty callback that doesn't match anything */ public sta...
zuber-personal-page
trunk/personal/system/tests/test_data/callback_routes.php
PHP
asf20
1,777
This is a view with a dot in the filename.
zuber-personal-page
trunk/personal/system/tests/test_data/views/test.css.php
Hack
asf20
42
<?php defined('SYSPATH') OR die('No direct script access.'); class Date extends Kohana_Date {}
zuber-personal-page
trunk/personal/system/classes/Date.php
PHP
asf20
96
<?php defined('SYSPATH') OR die('No direct script access.'); class Validation_Exception extends Kohana_Validation_Exception {}
zuber-personal-page
trunk/personal/system/classes/Validation/Exception.php
PHP
asf20
128
<?php defined('SYSPATH') OR die('No direct script access.'); /** * @package Kohana * @category Exceptions * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaframework.org/license */ class View_Exception extends Kohana_View_Exception {}
zuber-personal-page
trunk/personal/system/classes/View/Exception.php
PHP
asf20
288
<?php defined('SYSPATH') OR die('No direct script access.'); abstract class Controller_Template extends Kohana_Controller_Template {}
zuber-personal-page
trunk/personal/system/classes/Controller/Template.php
PHP
asf20
135
<?php defined('SYSPATH') OR die('No direct script access.'); class HTML extends Kohana_HTML {}
zuber-personal-page
trunk/personal/system/classes/HTML.php
PHP
asf20
95
<?php defined('SYSPATH') OR die('No direct script access.'); class Arr extends Kohana_Arr {}
zuber-personal-page
trunk/personal/system/classes/Arr.php
PHP
asf20
93
<?php defined('SYSPATH') OR die('No direct script access.'); /** * @package Kohana * @category Exceptions * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaframework.org/license */ class Request_Exception extends Kohana_Request_Exception {}
zuber-personal-page
trunk/personal/system/classes/Request/Exception.php
PHP
asf20
294
<?php defined('SYSPATH') OR die('No direct script access.'); abstract class Request_Client extends Kohana_Request_Client {}
zuber-personal-page
trunk/personal/system/classes/Request/Client.php
PHP
asf20
124
<?php defined('SYSPATH') OR die('No direct script access.'); class Request_Client_Internal extends Kohana_Request_Client_Internal {}
zuber-personal-page
trunk/personal/system/classes/Request/Client/Internal.php
PHP
asf20
133
<?php defined('SYSPATH') OR die('No direct script access.'); /** * @package Kohana * @category Exceptions * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaframework.org/license */ class Request_Client_Recursion_Exception extends Kohana_Request_Client_Recursion_Exce...
zuber-personal-page
trunk/personal/system/classes/Request/Client/Recursion/Exception.php
PHP
asf20
328
<?php defined('SYSPATH') OR die('No direct script access.'); class Request_Client_HTTP extends Kohana_Request_Client_HTTP {}
zuber-personal-page
trunk/personal/system/classes/Request/Client/HTTP.php
PHP
asf20
125
<?php defined('SYSPATH') OR die('No direct script access.'); class Request_Client_Stream extends Kohana_Request_Client_Stream {}
zuber-personal-page
trunk/personal/system/classes/Request/Client/Stream.php
PHP
asf20
129
<?php defined('SYSPATH') OR die('No direct script access.'); abstract class Request_Client_External extends Kohana_Request_Client_External {}
zuber-personal-page
trunk/personal/system/classes/Request/Client/External.php
PHP
asf20
142
<?php defined('SYSPATH') OR die('No direct script access.'); class Request_Client_Curl extends Kohana_Request_Client_Curl {}
zuber-personal-page
trunk/personal/system/classes/Request/Client/Curl.php
PHP
asf20
125