| Line 73... |
Line 73... |
| 73 |
$do_query = mysql_query($query) or die(BOG_afficherErreurSql(__FILE__, __LINE__, mysql_error(), $query));
|
73 |
$do_query = mysql_query($query) or die(BOG_afficherErreurSql(__FILE__, __LINE__, mysql_error(), $query));
|
| 74 |
$nb_results = mysql_num_rows($do_query);
|
74 |
$nb_results = mysql_num_rows($do_query);
|
| 75 |
while ($row = mysql_fetch_object($do_query)) {
|
75 |
while ($row = mysql_fetch_object($do_query)) {
|
| 76 |
$aso_revue = array();
|
76 |
$aso_revue = array();
|
| 77 |
$aso_revue['id'] = $row->B_C_CRAI;
|
77 |
$aso_revue['id'] = $row->B_C_CRAI;
|
| 78 |
$aso_revue['idlink'] = $row->B_C_IDLINK;
|
78 |
$aso_revue['idlink'] = $row->B_C_LKSTR;
|
| 79 |
$aso_revue['nom_complet'] = $row->B_C_NOMCOMPLET;
|
79 |
$aso_revue['nom_complet'] = $row->B_C_NOMCOMPLET;
|
| 80 |
$aso_revue['abreviation'] = $row->B_C_ABREGE;
|
80 |
$aso_revue['abreviation'] = $row->B_C_ABREGE;
|
| 81 |
$aso_revue['date_debut'] = $row->B_C_DATECREATION;
|
81 |
$aso_revue['date_debut'] = $row->B_C_DATECREATION;
|
| 82 |
$aso_revue['suite_de'] = $row->B_C_FAISUITE;
|
82 |
$aso_revue['suite_de'] = $row->B_C_FAISUITE;
|
| 83 |
$aso_revue['date_fin'] = $row->B_C_DATEFIN;
|
83 |
$aso_revue['date_fin'] = $row->B_C_DATEFIN;
|
| Line 85... |
Line 85... |
| 85 |
$aso_revue['contact_nom'] = $row->B_C_CONTACTNOM;
|
85 |
$aso_revue['contact_nom'] = $row->B_C_CONTACTNOM;
|
| 86 |
$aso_revue['contact_mail'] = $row->B_C_CONTACTMAIL;
|
86 |
$aso_revue['contact_mail'] = $row->B_C_CONTACTMAIL;
|
| 87 |
$aso_revue['logo'] = $row->B_C_IMAGE;
|
87 |
$aso_revue['logo'] = $row->B_C_IMAGE;
|
| 88 |
$aso_revue['commentaires'] = $row->B_C_COMMENT;
|
88 |
$aso_revue['commentaires'] = $row->B_C_COMMENT;
|
| 89 |
$aso_revue['date_maj'] = $row->B_C_MAJFICHE;
|
89 |
$aso_revue['date_maj'] = $row->B_C_MAJFICHE;
|
| - |
|
90 |
$aso_revue['fasc_nbre'] = 0;
|
| - |
|
91 |
$aso_revue['fasc_date_premier'] = '';
|
| - |
|
92 |
$aso_revue['fasc_date_dernier'] = '';
|
| - |
|
93 |
$aso_revue['fasc_maj_dernier'] = '';
|
| - |
|
94 |
$aso_revue['fasc_nom_dernier'] = '';
|
| 90 |
|
95 |
|
| - |
|
96 |
// Construction de l'url de la page contenant les info sur l'organisme:
|
| - |
|
97 |
$Url = clone $GLOBALS['_BIBLIOBOTA_']['url'];
|
| - |
|
98 |
$Url->setId(BB_URL_APPLI_ORGA_ID);
|
| - |
|
99 |
$Url->addQueryString('appli', 'bb_consultation');
|
| - |
|
100 |
$Url->addQueryString('consultation', 'avancee');
|
| - |
|
101 |
$Url->addQueryString('coll', $aso_revue['idlink']);
|
| - |
|
102 |
$aso_revue['url'] = $Url->getUrl();
|
| - |
|
103 |
|
| 91 |
$aso_fasc_serie = array();
|
104 |
$aso_fasc_serie = array();
|
| 92 |
$aso_fasc = array();
|
- |
|
| 93 |
$query_fasc = 'SELECT '.$GLOBALS['tbl']['fascicule'].'.* '.
|
105 |
$query_fasc = 'SELECT '.$GLOBALS['tbl']['fascicule'].'.* '.
|
| 94 |
'FROM '.$GLOBALS['tbl']['fascicule'].' '.
|
106 |
'FROM '.$GLOBALS['tbl']['fascicule'].' '.
|
| 95 |
'WHERE B_F_CRAICOLL = "'.$row->B_C_CRAI.'" '.
|
107 |
'WHERE B_F_CRAICOLL = "'.$row->B_C_CRAI.'" '.
|
| 96 |
'AND B_F_CACHER = 0 '.
|
108 |
'AND B_F_CACHER = 0 '.
|
| 97 |
'ORDER BY B_F_CRAISERIE, B_F_NUMERO DESC';
|
109 |
'ORDER BY B_F_CRAISERIE, B_F_NUMERO DESC';
|
| 98 |
$do_query_fasc = mysql_query($query_fasc) or die(BOG_afficherErreurSql(__FILE__, __LINE__, mysql_error(), $query_fasc));
|
110 |
$do_query_fasc = mysql_query($query_fasc) or die(BOG_afficherErreurSql(__FILE__, __LINE__, mysql_error(), $query_fasc));
|
| 99 |
while ($row_fasc = mysql_fetch_object($do_query_fasc)) {
|
111 |
while ($row_fasc = mysql_fetch_object($do_query_fasc)) {
|
| 100 |
if (!isset($aso_fasc_serie[$row_fasc->B_F_CRAISERIE])) {
|
112 |
if (!isset($aso_fasc_serie[$row_fasc->B_F_CRAISERIE])) {
|
| 101 |
$aso_fasc_serie[$row_fasc->B_F_CRAISERIE] = $row_fasc->B_F_CRAISERIE;
|
113 |
$aso_fasc = array();
|
| 102 |
$aso_fasc['nbre_fasc'] = 1;
|
114 |
$aso_fasc['nbre_fasc'] = 1;
|
| - |
|
115 |
$aso_fasc['nom_serie'] = $row_fasc->B_F_CRAISERIE;
|
| 103 |
$aso_fasc['nom_fin_serie'] = $row_fasc->B_SER_SOUSTITRE;
|
116 |
$aso_fasc['nom_fin_serie'] = $row_fasc->B_SER_SOUSTITRE;
|
| 104 |
$aso_fasc['nom_fin_fasc'] = $row_fasc->B_F_TITRE;
|
117 |
$aso_fasc['nom_fin_fasc'] = $row_fasc->B_F_TITRE;
|
| 105 |
$aso_fasc['date_fin_fasc'] = date('d/m/Y', $row_fasc->B_F_MAJFICHE);
|
118 |
$aso_fasc_serie[$row_fasc->B_F_CRAISERIE] = $aso_fasc;
|
| 106 |
} else {
|
119 |
} else {
|
| - |
|
120 |
$aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['nbre_fasc']++;
|
| - |
|
121 |
}
|
| - |
|
122 |
// Nombre de fascicule dans la collection
|
| 107 |
$aso_fasc['nbre_fasc']++;
|
123 |
$aso_revue['fasc_nbre']++;
|
| - |
|
124 |
// Calcule de la date du premier fascicule et de la date du dernier
|
| - |
|
125 |
if (preg_match('/^(\d{4})(?:\.(\d{2})|)$/', $row_fasc->B_F_DATE, $match)) {
|
| - |
|
126 |
if (isset($match[1]) && $match[1] != '') {
|
| - |
|
127 |
$annee = $match[1];
|
| - |
|
128 |
$mois = '01';
|
| - |
|
129 |
if (isset($match[2]) && $match[2] != '') {
|
| - |
|
130 |
$mois = $match[2];
|
| - |
|
131 |
}
|
| - |
|
132 |
$date = $annee.'-'.$mois;
|
| - |
|
133 |
|
| - |
|
134 |
// Initialisation avec une date.
|
| - |
|
135 |
if ($aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['nbre_fasc'] == 1) {
|
| - |
|
136 |
$aso_revue['fasc_date_premier'] = $date;
|
| - |
|
137 |
$aso_revue['fasc_date_dernier'] = $date;
|
| - |
|
138 |
$aso_fasc['date_debut'] = $date;
|
| - |
|
139 |
$aso_fasc['date_fin'] = $date;
|
| - |
|
140 |
}
|
| - |
|
141 |
|
| - |
|
142 |
// Date premier fascicule dans la série
|
| - |
|
143 |
if (strcasecmp($date, $aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['date_debut']) < 0) {
|
| - |
|
144 |
$aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['date_debut'] = $date;
|
| - |
|
145 |
}
|
| - |
|
146 |
// Date premier fascicule dans la collection
|
| - |
|
147 |
//echo $date.'<'.$aso_revue['fasc_date_premier'].'/'.strcasecmp($date, $aso_revue['fasc_date_premier']).'<br>';
|
| - |
|
148 |
if (strcasecmp($date, $aso_revue['fasc_date_premier']) < 0) {
|
| - |
|
149 |
//echo $aso_revue['fasc_date_premier'].'<'.$date.'<br>';
|
| - |
|
150 |
$aso_revue['fasc_date_premier'] = $date;
|
| - |
|
151 |
|
| - |
|
152 |
}
|
| - |
|
153 |
// Date dernier fascicule dans la série
|
| - |
|
154 |
if (strcasecmp($date, $aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['date_fin']) > 0) {
|
| - |
|
155 |
$aso_fasc_serie[$row_fasc->B_F_CRAISERIE]['date_fin'] = $date;
|
| - |
|
156 |
$aso_revue['fasc_nom_dernier'] = $row_fasc->B_F_TITRE;
|
| - |
|
157 |
$aso_revue['fasc_maj_dernier'] = $row_fasc->B_F_MAJFICHE;
|
| - |
|
158 |
}
|
| - |
|
159 |
// Date dernier fascicule dans la collection
|
| - |
|
160 |
if (strcasecmp($date, $aso_revue['fasc_date_dernier']) > 0) {
|
| - |
|
161 |
$aso_revue['fasc_date_dernier'] = $date;
|
| - |
|
162 |
}
|
| - |
|
163 |
}
|
| - |
|
164 |
|
| 108 |
}
|
165 |
}
|
| 109 |
}
|
166 |
}
|
| 110 |
mysql_free_result($do_query_fasc);
|
167 |
mysql_free_result($do_query_fasc);
|
| 111 |
ksort($aso_fasc_serie, SORT_DESC);
|
168 |
ksort($aso_fasc_serie, SORT_DESC);
|
| 112 |
$aso_revue['aso_fasc_serie'] = $aso_fasc_serie;
|
169 |
$aso_revue['aso_fasc_serie'] = $aso_fasc_serie;
|
| 113 |
$aso_revue['aso_fasc'] = $aso_fasc;
|
- |
|
| Line 114... |
Line 170... |
| 114 |
|
170 |
|
| 115 |
$query_art = 'SELECT COUNT('.$GLOBALS['tbl']['article'].'.B_A_IDART) AS nbre_article '.
|
171 |
$query_art = 'SELECT COUNT('.$GLOBALS['tbl']['article'].'.B_A_IDART) AS nbre_article '.
|
| 116 |
'FROM '.$GLOBALS['tbl']['article'].' '.
|
172 |
'FROM '.$GLOBALS['tbl']['article'].' '.
|
| 117 |
'WHERE B_A_CRAICOLL = "'.$row->B_C_CRAI.'" '.
|
173 |
'WHERE B_A_CRAICOLL = "'.$row->B_C_CRAI.'" '.
|
| Line 127... |
Line 183... |
| 127 |
if ($GLOBALS['_GEN_commun']['info_application']->affichage_type == 'tableau') {
|
183 |
if ($GLOBALS['_GEN_commun']['info_application']->affichage_type == 'tableau') {
|
| 128 |
$o = 1;
|
184 |
$o = 1;
|
| 129 |
$retour .= '<table id="liste_biblio_revue" class="table_bordure" summary="Tableau résumant les informations sur les revues indexées dans la base de données du projet BiblioBota.">'."\n";
|
185 |
$retour .= '<table id="liste_biblio_revue" class="table_bordure" summary="Tableau résumant les informations sur les revues indexées dans la base de données du projet BiblioBota.">'."\n";
|
| 130 |
$retour .= '<thead><tr>'.
|
186 |
$retour .= '<thead><tr>'.
|
| 131 |
'<th>Collection</th>'.
|
187 |
'<th>Collection</th>'.
|
| 132 |
'<th>Date début</th>'.
|
188 |
'<th>Date début (collection)</th>'.
|
| 133 |
'<th>Date fin</th>'.
|
189 |
'<th>Date fin (collection)</th>'.
|
| 134 |
'<th title="Nombre de fascicules pour la collection, toutes séries confondues">Nombre fascicules</th>'.
|
190 |
'<th title="Nombre de fascicules pour la collection, toutes séries confondues">Nombre fascicules</th>'.
|
| 135 |
'<th title="Nombre d\'articles pour la collection, toutes séries et fascicules confondues">Nombre d\'articles</th>'.
|
191 |
'<th title="Nombre d\'articles pour la collection, toutes séries et fascicules confondues">Nombre d\'articles</th>'.
|
| 136 |
'<th>Périodicité</th>'.
|
192 |
'<th>Périodicité</th>'.
|
| 137 |
'<th>Contact</th>'.
|
193 |
'<th>Contact</th>'.
|
| 138 |
'<th title="Nom du dernier fascicule dans la dernière série">Dernier fascicule</th>'.
|
194 |
'<th title="Nom du dernier fascicule indexée dans la dernière série">Dernier fascicule</th>'.
|
| 139 |
'<th title="Date de mise à jour du dernier fascicule dans la dernière série">Date dernier fascicule</th>'.
|
195 |
'<th title="Date de publication du dernier fascicule indexée dans la dernière série">Date dernier fascicule</th>'.
|
| 140 |
'</tr></thead>'."\n";
|
196 |
'</tr></thead>'."\n";
|
| 141 |
$retour .= '<tbody>';
|
197 |
$retour .= '<tbody>';
|
| 142 |
foreach ($aso_revues as $revue) {
|
198 |
foreach ($aso_revues as $revue) {
|
| 143 |
$retour .= '<tr>';
|
199 |
$retour .= '<tr>';
|
| 144 |
$retour .= '<th>';
|
200 |
$retour .= '<th>';
|
| 145 |
if ($revue['nom_complet'] != '') {
|
201 |
if ($revue['nom_complet'] != '') {
|
| 146 |
$retour .= '<h5 class="bbre_titre">'.$revue['nom_complet'].'</h5>';
|
202 |
$retour .= '<h5 class="bbre_titre">'.
|
| - |
|
203 |
'<a href="'.$revue['url'].'">'.
|
| - |
|
204 |
$revue['nom_complet'].
|
| - |
|
205 |
'</a>'.
|
| - |
|
206 |
'</h5>';
|
| 147 |
if ($revue['suite_de'] != '') {
|
207 |
if ($revue['suite_de'] != '') {
|
| 148 |
$retour .= '<p><span class="bb_intitule">Fait suite à : </span>'.$revue['suite_de'].'</p>';
|
208 |
$retour .= '<p><span class="bb_intitule">Fait suite à : </span>'.$revue['suite_de'].'</p>';
|
| 149 |
}
|
209 |
}
|
| 150 |
if ($revue['abreviation'] != '') {
|
210 |
if ($revue['abreviation'] != '') {
|
| 151 |
$retour .= '<p><span class="bb_intitule">Abréviation : </span>'.$revue['abreviation'].'</p>';
|
211 |
$retour .= '<p><span class="bb_intitule">Abréviation : </span>'.$revue['abreviation'].'</p>';
|
| Line 155... |
Line 215... |
| 155 |
}
|
215 |
}
|
| 156 |
if ($revue['logo'] != '') {
|
216 |
if ($revue['logo'] != '') {
|
| 157 |
$retour .= '<img class="bbre_couverture" src="'.BB_CHEMIN_IMAGES_ILLUSTRATION.$revue['logo'].'" alt="Couverture de la revue '.$revue['nom_complet'].'"/>';
|
217 |
$retour .= '<img class="bbre_couverture" src="'.BB_CHEMIN_IMAGES_ILLUSTRATION.$revue['logo'].'" alt="Couverture de la revue '.$revue['nom_complet'].'"/>';
|
| 158 |
}
|
218 |
}
|
| 159 |
$retour .= '<p class="texte_inactif">Id. coll. : '.$revue['id'].' - Mise à jour : '.date('d/m/Y', $revue['date_maj']).'</p>';
|
219 |
$retour .= '<p class="texte_inactif">Id. coll. : '.$revue['id'].' - Mise à jour : '.date('d/m/Y', $revue['date_maj']).'</p>';
|
| - |
|
220 |
} else {
|
| - |
|
221 |
$retour .= '?';
|
| 160 |
}
|
222 |
}
|
| 161 |
$retour .= '</th>';
|
223 |
$retour .= '</th>';
|
| 162 |
$retour .= '<td>';
|
224 |
$retour .= '<td>';
|
| 163 |
if ($revue['date_debut'] != '') {
|
225 |
if ($revue['date_debut'] != '') {
|
| 164 |
$retour .= $revue['date_debut'];
|
226 |
$retour .= $revue['date_debut'];
|
| - |
|
227 |
} else {
|
| - |
|
228 |
$retour .= '?';
|
| 165 |
}
|
229 |
}
|
| 166 |
$retour .= '</td>';
|
230 |
$retour .= '</td>';
|
| 167 |
$retour .= '<td>';
|
231 |
$retour .= '<td>';
|
| 168 |
if ($revue['date_fin'] != '') {
|
232 |
if ($revue['date_fin'] != '') {
|
| 169 |
$retour .= $revue['date_fin'];
|
233 |
$retour .= $revue['date_fin'];
|
| - |
|
234 |
} else {
|
| - |
|
235 |
$retour .= '?';
|
| 170 |
}
|
236 |
}
|
| 171 |
$retour .= '</td>';
|
237 |
$retour .= '</td>';
|
| 172 |
$retour .= '<td>';
|
238 |
$retour .= '<td>';
|
| 173 |
if ($revue['aso_fasc']['nbre_fasc'] != '') {
|
239 |
if ($revue['fasc_nbre'] != '') {
|
| 174 |
$retour .= $revue['aso_fasc']['nbre_fasc'];
|
240 |
$retour .= $revue['fasc_nbre'];
|
| 175 |
} else {
|
241 |
} else {
|
| 176 |
$retour .= 0;
|
242 |
$retour .= 0;
|
| 177 |
}
|
243 |
}
|
| 178 |
$retour .= '</td>';
|
244 |
$retour .= '</td>';
|
| 179 |
$retour .= '<td>';
|
245 |
$retour .= '<td>';
|
| Line 184... |
Line 250... |
| 184 |
}
|
250 |
}
|
| 185 |
$retour .= '</td>';
|
251 |
$retour .= '</td>';
|
| 186 |
$retour .= '<td>';
|
252 |
$retour .= '<td>';
|
| 187 |
if ($revue['periodicite'] != '') {
|
253 |
if ($revue['periodicite'] != '') {
|
| 188 |
$retour .= $revue['periodicite'];
|
254 |
$retour .= $revue['periodicite'];
|
| - |
|
255 |
} else {
|
| - |
|
256 |
$retour .= '?';
|
| 189 |
}
|
257 |
}
|
| 190 |
$retour .= '</td>';
|
258 |
$retour .= '</td>';
|
| 191 |
$retour .= '<td>';
|
259 |
$retour .= '<td>';
|
| 192 |
if ($revue['contact_nom'] != '') {
|
260 |
if ($revue['contact_nom'] != '') {
|
| 193 |
if ($contact_mail != '') {
|
261 |
if ($contact_mail != '') {
|
| 194 |
$retour .= '<a href="mailto:'.$revue['contact_mail'].'">'.$revue['contact_nom'].'</a>';
|
262 |
$retour .= '<a href="mailto:'.$revue['contact_mail'].'">'.$revue['contact_nom'].'</a>';
|
| 195 |
} else {
|
263 |
} else {
|
| 196 |
$retour .= $revue['contact_nom'];
|
264 |
$retour .= $revue['contact_nom'];
|
| 197 |
}
|
265 |
}
|
| - |
|
266 |
} else {
|
| - |
|
267 |
$retour .= '?';
|
| 198 |
}
|
268 |
}
|
| 199 |
$retour .= '</td>';
|
269 |
$retour .= '</td>';
|
| 200 |
$retour .= '<td>';
|
270 |
$retour .= '<td>';
|
| - |
|
271 |
if ($revue['fasc_nom_dernier'] != '') {
|
| 201 |
$retour .= $revue['aso_fasc']['nom_fin_fasc'];
|
272 |
$retour .= $revue['fasc_nom_dernier'];
|
| - |
|
273 |
} else {
|
| - |
|
274 |
$retour .= '?';
|
| - |
|
275 |
}
|
| 202 |
$retour .= '</td>';
|
276 |
$retour .= '</td>';
|
| 203 |
$retour .= '<td>';
|
277 |
$retour .= '<td>';
|
| 204 |
$retour .= $revue['aso_fasc']['date_fin_fasc'];
|
278 |
if ($revue['fasc_date_dernier'] != '') {
|
| - |
|
279 |
$retour .= '<p>'.donnerDateConviviale($revue['fasc_date_dernier']).'</p>';
|
| - |
|
280 |
$retour .= '<p class="texte_inactif">Mise à jour : '.date('d/m/Y', $revue['fasc_maj_dernier']).'</p>';
|
| - |
|
281 |
|
| - |
|
282 |
} else {
|
| - |
|
283 |
$retour .= '?';
|
| - |
|
284 |
}
|
| 205 |
$retour .= '</td>';
|
285 |
$retour .= '</td>';
|
| 206 |
$retour .= '</tr>'."\n";
|
286 |
$retour .= '</tr>'."\n";
|
| 207 |
$o++;
|
287 |
$o++;
|
| 208 |
}
|
288 |
}
|
| 209 |
$retour .= '</tbody>'."\n";
|
289 |
$retour .= '</tbody>'."\n";
|
| 210 |
$retour .= '</table>'."\n";
|
290 |
$retour .= '</table>'."\n";
|
| 211 |
} else {
|
291 |
} else {
|
| 212 |
$o = 1;
|
292 |
$o = 1;
|
| 213 |
$retour .= '<ul id="liste_biblio_revue">'."\n";
|
293 |
$retour .= '<ul id="liste_biblio_revue">'."\n";
|
| - |
|
294 |
$nbre_revue_sans_article = 0;
|
| 214 |
foreach ($aso_revues as $revue) {
|
295 |
foreach ($aso_revues as $revue) {
|
| - |
|
296 |
if ($revue['nbre_article'] != '' && $revue['nbre_article'] > 0) {
|
| 215 |
$retour .= '<li>';
|
297 |
$retour .= '<li>';
|
| 216 |
if ($revue['nom_complet'] != '') {
|
298 |
if ($revue['nom_complet'] != '') {
|
| 217 |
$retour .= '<h5 class="bbre_titre">'.$revue['nom_complet'].'.</h5>';
|
299 |
$retour .= '<h5 class="bbre_titre">'.
|
| - |
|
300 |
'<a href="'.$revue['url'].'">'.
|
| - |
|
301 |
$revue['nom_complet'].
|
| - |
|
302 |
'</a>'.
|
| - |
|
303 |
'.</h5>';
|
| 218 |
}
|
304 |
}
|
| 219 |
if ($revue['periodicite'] != '') {
|
305 |
if ($revue['periodicite'] != '') {
|
| 220 |
$retour .= ' '.$revue['periodicite'].'.';
|
306 |
$retour .= ' '.$revue['periodicite'].'.';
|
| 221 |
} else {
|
307 |
} else {
|
| 222 |
$retour .= ' Périodicité inconnue';
|
308 |
$retour .= ' Périodicité inconnue';
|
| 223 |
}
|
309 |
}
|
| 224 |
$retour .= ' De ';
|
310 |
$retour .= ' De ';
|
| 225 |
if ($revue['date_debut'] != '') {
|
311 |
if ($revue['fasc_date_premier'] != '') {
|
| 226 |
$retour .= $revue['date_debut'];
|
312 |
$retour .= donnerDateConviviale($revue['fasc_date_premier']);
|
| 227 |
} else {
|
313 |
} else {
|
| 228 |
$retour .= '?';
|
314 |
$retour .= '?';
|
| 229 |
}
|
315 |
}
|
| 230 |
$retour .= ' à ';
|
316 |
$retour .= ' à ';
|
| 231 |
if ($revue['date_fin'] != '') {
|
317 |
if ($revue['fasc_date_dernier'] != '') {
|
| 232 |
$retour .= $revue['date_fin'].'. ';
|
318 |
$retour .= donnerDateConviviale($revue['fasc_date_dernier']).'. ';
|
| 233 |
} else {
|
319 |
} else {
|
| 234 |
$retour .= '?. ';
|
320 |
$retour .= '?. ';
|
| 235 |
}
|
321 |
}
|
| 236 |
if ($revue['aso_fasc']['nbre_fasc'] != '') {
|
322 |
if ($revue['fasc_nbre'] != '') {
|
| 237 |
$retour .= $revue['aso_fasc']['nbre_fasc'];
|
323 |
$retour .= $revue['fasc_nbre'];
|
| 238 |
} else {
|
324 |
} else {
|
| 239 |
$retour .= 0;
|
325 |
$retour .= 0;
|
| 240 |
}
|
326 |
}
|
| 241 |
$retour .= ' fascicules et ';
|
327 |
$retour .= ' fascicules et ';
|
| 242 |
if ($revue['nbre_article'] != '') {
|
328 |
if ($revue['nbre_article'] != '') {
|
| 243 |
$retour .= $revue['nbre_article'];
|
329 |
$retour .= $revue['nbre_article'];
|
| - |
|
330 |
} else {
|
| - |
|
331 |
$retour .= 0;
|
| - |
|
332 |
}
|
| - |
|
333 |
$retour .= ' articles indexés.';
|
| - |
|
334 |
$o++;
|
| - |
|
335 |
$retour .= '</li>'."\n";
|
| 244 |
} else {
|
336 |
} else {
|
| 245 |
$retour .= 0;
|
337 |
$nbre_revue_sans_article++;
|
| 246 |
}
|
338 |
}
|
| 247 |
$retour .= ' articles indexés.';
|
- |
|
| 248 |
$o++;
|
- |
|
| 249 |
$retour .= '</li>'."\n";
|
- |
|
| 250 |
}
|
339 |
}
|
| - |
|
340 |
$retour .= '<li>';
|
| - |
|
341 |
$retour .= 'Nombre de revue dont aucun article n\'est indexé dans la base : '.$nbre_revue_sans_article;
|
| - |
|
342 |
$retour .= '</li>'."\n";
|
| 251 |
$retour .= '</ul>'."\n";
|
343 |
$retour .= '</ul>'."\n";
|
| 252 |
}
|
344 |
}
|
| 253 |
}
|
345 |
}
|
| 254 |
$retour .= '</div>';
|
346 |
$retour .= '</div>';
|
| 255 |
$retour .= '<!-- BiblioBota - Revue : FIN -->'."\n";
|
347 |
$retour .= '<!-- BiblioBota - Revue : FIN -->'."\n";
|
| 256 |
$sortie .= $retour;
|
348 |
$sortie .= $retour;
|
| Line -... |
Line 349... |
| - |
|
349 |
|
| - |
|
350 |
|
| - |
|
351 |
function fomaterDate($date) {
|
| - |
|
352 |
|
| 257 |
|
353 |
}
|
| 258 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
354 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 259 |
*
|
355 |
*
|
| - |
|
356 |
* $Log$
|
| - |
|
357 |
* Revision 1.5 2007/01/02 17:45:16 jp_milcent
|
| - |
|
358 |
* Ajout d'un affichage simplifié.
|
| 260 |
* $Log$
|
359 |
*
|
| 261 |
* Revision 1.4 2006/09/12 16:13:05 jp_milcent
|
360 |
* Revision 1.4 2006/09/12 16:13:05 jp_milcent
|
| 262 |
* Ajout de nouvelles informations à la liste des revues.
|
361 |
* Ajout de nouvelles informations à la liste des revues.
|
| 263 |
*
|
362 |
*
|
| 264 |
* Revision 1.3 2006/07/28 12:46:47 jp_milcent
|
363 |
* Revision 1.3 2006/07/28 12:46:47 jp_milcent
|