No more used
authorbobopinna <bobopinna>
Fri, 29 Sep 2006 06:43:58 +0000 (06:43 +0000)
committerbobopinna <bobopinna>
Fri, 29 Sep 2006 06:43:58 +0000 (06:43 +0000)
mod/scorm/datamodels/suspend.php [deleted file]
mod/scorm/pix/SuaHeSoDiem.png [deleted file]
mod/scorm/pix/ThongKe.png [deleted file]

diff --git a/mod/scorm/datamodels/suspend.php b/mod/scorm/datamodels/suspend.php
deleted file mode 100755 (executable)
index 260a98a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php\r
-    require_once('../../config.php');\r
-    require_once('locallib.php');\r
-\r
-    $id = required_param('id', PARAM_INT);         // course ID\r
-    $scormid = required_param('scorm', PARAM_INT);         // scorm ID\r
-    $scoid = required_param('sco', PARAM_INT);  // suspend sco ID\r
-    $userid = required_param('userid', PARAM_INT);  // user ID\r
-\r
-    $attempt = scorm_get_last_attempt($scormid,$userid);\r
-    $statistic = get_record('scorm_statistic',"scormid",$scormid,"userid",$userid);\r
-    $statisticInput->accesstime = $statistic->accesstime;\r
-    $statisticInput->durationtime = $statistic->durationtime + time()- $statistic->accesstime;\r
-    $statisticInput->status = 'suspend';\r
-    $statisticInput->attemptnumber = $attempt;\r
-    $statisticInput->scormid = $statistic->scormid;\r
-    $statisticInput->userid = $statistic->userid;    \r
-    $statisticid = scorm_insert_statistic($statisticInput);\r
-\r
-    $result = scorm_insert_trackmodel($userid, $scormid, $scoid,$attempt);\r
-    if ($result) {\r
-        echo "<script language='Javascript' type='text/javascript'>";\r
-        echo "location.href='".$CFG->wwwroot." /course/view.php?id=".$id."';";        \r
-        echo "</script>";\r
-    } else {\r
-        echo "Suspend failed";\r
-    }\r
-?>\r
-\r
diff --git a/mod/scorm/pix/SuaHeSoDiem.png b/mod/scorm/pix/SuaHeSoDiem.png
deleted file mode 100755 (executable)
index be9e923..0000000
Binary files a/mod/scorm/pix/SuaHeSoDiem.png and /dev/null differ
diff --git a/mod/scorm/pix/ThongKe.png b/mod/scorm/pix/ThongKe.png
deleted file mode 100755 (executable)
index fb0a9d4..0000000
Binary files a/mod/scorm/pix/ThongKe.png and /dev/null differ