Flash实训自助报名/收作业系统

上图

Flash实训自助报名/收作业系统_第1张图片
Paste_Image.png
Flash实训自助报名/收作业系统_第2张图片
Paste_Image.png

这个是接收报名的代码



    
        
        Flash实训分组
        
        
    
    

    

Flash实训分组登记








getMessage()); } $team = $c->get('teamNum'); if (isset($_REQUEST["leaderNum"]) && isset($_REQUEST["title"])) { $name = strip_tags( $_REQUEST['leaderNum'] ); $title = strip_tags( $_REQUEST['title'] ); if(strlen($name)<10){ echo "您的学号输入错误"; break; } if(strlen($title)<1){ echo "您没有输入主题"; break; } $sql = " UPDATE student SET " //"team = " //."'" // .$team // ."'" // ." , " ." title = " ."'" .$title ."'" ." WHERE id = " ."'" .$name ."'" //." and team =" // ."'" // ."暂无分组" // ."'" .";"; echo "
"; echo "SQL语句是".$sql."\n"; echo "
"; $mysql->runSql($sql); if ($mysql->errno() != 0) { echo "
"; echo "格式错误!"; echo "
"; die("Error:" . $mysql->errmsg()); echo "
"; } if ($mysql->affectedRows()>0) { echo "
"; echo "同学".$name; echo "记录提交成功!";//"组号应该为".$team; echo "
"; }else{ echo "
"; echo "同学".$name; echo "您的数据提交失败"; echo "
"; die(); } $c->incr('teamNum'); if (isset($_REQUEST['mateNum'])) { $name = strip_tags( $_REQUEST['mateNum'] ); $sql = " UPDATE student SET " //"team = " //."'" //.$team //."'" //." , " ." title = " ."'" .$title ."'" ." WHERE id = " ."'" .$name ."'" // ." and team =" //."'" //."暂无分组" //."'" .";"; echo "SQL语句是".$sql."\n"; $mysql->runSql($sql); if ($mysql->errno() != 0) { echo "
"; echo "格式错误!"; echo "
"; die("Error:" . $mysql->errmsg()); echo "
"; } if ($mysql->affectedRows()>0) { echo "
"; echo "同学".$name; echo "记录提交成功!";//组号应该为".$team; echo "
"; }else{ echo "
"; echo "同学".$name; echo "您的数据提交失败"; die(); } } }else{ echo "显示结果\n\n"; } $sql = "SELECT * FROM `student` ORDER BY `team` ASC LIMIT 100"; $data = $mysql->getData( $sql ); echo "
"; echo "
"; echo "现在的结果是:"; echo "
"; echo ''; echo ""; foreach ($data as $sub1) { echo ""; foreach ($sub1 as $sub2) { echo ""; } echo ""; } echo "
学号姓名组号题目
".$sub2."
"; $mysql->closeDb(); ?>

这个是自助上传作品的代码



    
        
        Flash实训分组
        
        
    
    

Flash实训作品自助提交系统


离提交截至报名时间(2015/12/06 20:00:00)还有 00天 00时 00分 00秒
若需要修改,可进行重复提交,如有任何问题,请联系小小酥
1.麻烦各位把文件尽量压缩至5MB以内,否则很容易出现浏览器卡死的情况。
2.各位尽量使用chrome内核的浏览器,如360浏览器的极速模式,搜狗浏览器,QQ浏览器之类的,因为浏览器的左下角会打印出上传的进度的数值。不要使用IE6、不要使用IE6、不要使用IE6,重要的事情说3遍。
3.实在真的文件太大提交得蛋疼的,请直接联系我。


putObject($s ->inputFile($file), $bucketName, $uploadName); if ($_url) { echo $_POST['name'].",文件上传成功!"; }else{ echo $_POST['name'].",文件上传失败!"; } } } $_list = $s ->getBucket($bucketName); echo "
"; echo ''; echo ""; foreach ($_list as $go) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
文件名文件大小(KB)跟新时间文件哈希值文件下载链接
".$go["name"]."".$go["bytes"] ."".$go["last_modified"]."".$go["hash"]."点击下载
"; ?>

你可能感兴趣的:(Flash实训自助报名/收作业系统)