/[openfoncier]/trunk/app/jquerytest.php
ViewVC logotype

Annotation of /trunk/app/jquerytest.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (hide annotations)
Thu Aug 25 09:59:07 2011 UTC (13 years, 5 months ago) by fraynaud
File size: 1044 byte(s)
Réorganisation du dossier spécifique de l'application

1 fraynaud 88 <?php
2     /**
3     * en test direct -> enelever le nohtml
4     */
5     require_once "../obj/utils.class.php";
6     // appel tableau de bord
7     $f = new utils(nohtml, NULL, _("test de jquery"));
8     // test direct
9     //$f = new utils(NULL, NULL, _("test de jquery"));
10     $sql= "select count(dossier) from dossier";
11     $nb_dossier = $f->db->getOne($sql);
12     $sql= "select count(dossier) from dossier where etat = 'notifier'";
13     $nb_dossier_notifier = $f->db->getOne($sql);
14     $progress = round($nb_dossier_notifier/$nb_dossier*100,0);
15     //$progress =50;
16     ?>
17     <script>
18     $(function() {
19     $( "#progressbar" ).progressbar({
20     value: <?php echo $progress;?>
21     });
22     $( "#progressbarWrapper" ).resizable();
23     });
24    
25     </script>
26     <?php
27     echo "<div id=\"progressbarWrapper\" style=\"height:50px;width:80%\" class=\"ui-widget-default\">";
28     echo "Pourcentage de dossiers notifiés : ".$progress."%<div id=\"progressbar\" style=\"height:30%;\"></div>";
29     echo "</div>";
30    
31     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26