root/alternc-stats/branches/INIT/admin/stat_exec.php

Revision 1340, 482 bytes (checked in by anonymous, 4 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?php
2
3
4 require_once("../class/config.php");
5 require_once("stat_functions.php");
6
7
8 $r=$db->query("SELECT * FROM bw_stats WHERE id='$id' AND uid='$cuid';");
9 if (!$db->next_record()) {
10   $error=_("Impossible de retrouver cette sauvegarde.");
11   include("stat.php");
12   exit;
13 }
14
15 $c=$db->Record;
16
17 $_POST=unserialize($c[params]);
18 $_POST["qname"]=addslashes($c[name]);
19 addslashes_rec($_POST);
20
21 reset($_POST);
22 while (list($k,$v)=each($_POST)) {
23   $$k=$v;
24 }
25
26
27 include("stat_dolist.php");
28
29
30 ?>
Note: See TracBrowser for help on using the browser.