OPiQuotations  v.02.00.00 — October 26, 2015
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
index.php File Reference

Main page to the Web application OPiCitations (over 3000 French quotes) http://www.opimedia.be/OPiCitations/. More...

Go to the source code of this file.

Namespaces

namespace  OPiCitations

Variables

 $opiquotations = new OPiQuotations\OPiQuotations()
 $lists
 $LABELS
 $ALL_KEYS = array_merge(array_keys($LABELS), ['id', 'all_marked', 'all'])
 $params = array()
 $param_key = null
 $param_value = null
if(!empty($params)) $search = null
 $param_id = null
 $keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français']
 $desc = OPiQuotations\html_text_cut($desc, 160)
 $url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'
 $url = $url_site
 if ($only_one)
 endif
 $all_is_maxim = !empty($quots) || ($param_key === 'nation')

Detailed Description

Main page to the Web application OPiCitations (over 3000 French quotes) http://www.opimedia.be/OPiCitations/.

(October 26, 2015)

Piece of OPiQuotations. https://bitbucket.org/OPiMedia/opiquotations

GPLv3 — Copyright (C) 2014, 2015 Olivier Pirson http://www.opimedia.be/

Definition in file index.php.

Variable Documentation

$all_is_maxim = !empty($quots) || ($param_key === 'nation')

Definition at line 345 of file index.php.

$ALL_KEYS = array_merge(array_keys($LABELS), ['id', 'all_marked', 'all'])

Definition at line 74 of file index.php.

$desc = OPiQuotations\html_text_cut($desc, 160)

Definition at line 293 of file index.php.

$keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français']

Definition at line 243 of file index.php.

$LABELS
Initial value:
array('ids' => 'Numéro(s)',
'subject' => 'Sujet',
'text' => 'Texte',
'translation' => 'Traduction',
'author' => 'Auteur',
'work' => 'Œuvre',
'nation' => 'Nation')

Definition at line 67 of file index.php.

$lists
Initial value:
array('author' => $opiquotations->list_authors(),
'nation' => $opiquotations->list_nations(),
'subject' => $opiquotations->list_subjects(),
'work' => $opiquotations->list_works())

Definition at line 62 of file index.php.

$opiquotations = new OPiQuotations\OPiQuotations()

Definition at line 60 of file index.php.

$param_id = null

Definition at line 122 of file index.php.

$param_key = null

Definition at line 108 of file index.php.

$param_value = null

Definition at line 109 of file index.php.

$params = array()

Definition at line 78 of file index.php.

if (!empty($params)) $search = null
$url = $url_site
$url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'

Definition at line 297 of file index.php.

endif

Definition at line 336 of file index.php.

if($header!==null)

Definition at line 331 of file index.php.