Main page to the Web application OPiCitations http://www.opimedia.be/OPiCitations/.
More...
Go to the source code of this file.
|
if(true) | else |
|
| $opiquotations = new OPiQuotations\OPiQuotations() |
|
| $lists |
|
| $LABELS |
|
| $ALL_KEYS = array_merge(array_keys($LABELS), ['id', 'all_marked', 'all', 'page', 'selection']) |
|
| $SELECTION_LABELS |
|
| $NB_FOR_RANDOM = 10 |
|
| $nb_by_page = 100 |
|
| $num_page = 1 |
|
| $params = array() |
|
| $param_key = null |
|
| $param_value = null |
|
if(!empty($params)) | $search = null |
|
| $param_id = null |
|
| $header = '<strong>'.count($quots).'</strong> citations choisies <strong>aléatoirement</strong>' |
|
| $only_one = (count($quots) === 1) |
|
| $keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français'] |
|
| $desc = 'Dictionnaire de citations.' |
|
if($header !==null) | $desc_open_graph = OPiQuotations\html_text_cut($desc, 300) |
|
| $url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/' |
|
| $url = $url_site |
|
| $all_is_maxim = !empty($quots) || ($param_key === 'nation') |
|
| if ( $search !==null &&$search !=='') |
|
Main page to the Web application OPiCitations http://www.opimedia.be/OPiCitations/.
(October 24, 2019)
Piece of OPiQuotations. https://bitbucket.org/OPiMedia/opiquotations
GPLv3 — Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019 Olivier Pirson http://www.opimedia.be/
Definition in file index.php.
◆ nb_to_nb_page()
nb_to_nb_page |
( |
|
$nb_quotations | ) |
|
◆ nb_to_offset()
nb_to_offset |
( |
|
$nb_quotations | ) |
|
◆ print_page_links()
◆ s()
◆ $all_is_maxim
$all_is_maxim = !empty($quots) || ($param_key === 'nation') |
◆ $ALL_KEYS
$ALL_KEYS = array_merge(array_keys($LABELS), ['id', 'all_marked', 'all', 'page', 'selection']) |
◆ $desc
$desc = 'Dictionnaire de citations.' |
◆ $desc_open_graph
◆ $header
$header = '<strong>'.count($quots).'</strong> citations choisies <strong>aléatoirement</strong>' |
◆ $keywords
$keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français'] |
◆ $LABELS
Initial value:= array('ids' => 'numéro(s)',
'subject' => 'sujet',
'text' => 'texte',
'translation' => 'traduction',
'author' => 'auteur',
'work' => 'œuvre',
'nation' => 'maxime')
Definition at line 101 of file index.php.
◆ $lists
Initial value:
Definition at line 96 of file index.php.
◆ $nb_by_page
◆ $NB_FOR_RANDOM
◆ $num_page
◆ $only_one
$only_one = (count($quots) === 1) |
◆ $opiquotations
◆ $param_id
◆ $param_key
◆ $param_value
◆ $params
◆ $search
if (!empty( $params)) $search = null |
◆ $SELECTION_LABELS
Initial value:= array('Facebook' => 'Facebook - 1OPiCitationParJour',
'Twitter' => 'Twitter - OPiCitationJour',
'Web' => 'Web')
Definition at line 110 of file index.php.
◆ $url
◆ $url_site
$url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/' |
◆ else
Initial value:{
#DEBUG_END
ini_set('display_errors', 'stderr')
Definition at line 34 of file index.php.
◆ if