Changeset 1190 for trunk/unxsBind/tclientfunc.h
- Timestamp:
- 02/17/10 13:16:05 (2 years ago)
- Files:
-
- 1 modified
-
trunk/unxsBind/tclientfunc.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/unxsBind/tclientfunc.h
r1137 r1190 57 57 void htmlRecordContext(void); 58 58 void tClientNavList(void); 59 void BasictClientCheck(void); 60 59 61 60 62 void ExtProcesstClientVars(pentry entries[], int x) … … 135 137 //Validate 136 138 guMode=2000; 139 BasictClientCheck(); 137 140 if(guLoginClient!=1 && uMaxClientsReached(guCompany)) 138 141 { … … 960 963 }//void tClientNavList(void) 961 964 965 966 void BasictClientCheck(void) 967 { 968 if(guMode==2000) 969 { 970 if(uOwner==1) 971 { 972 MYSQL_RES *res; 973 sprintf(gcQuery,"SELECT uClient FROM tClient WHERE cLabel='%s' AND uOwner=1",TextAreaSave(cLabel)); 974 macro_mySQLRunAndStore(res); 975 976 if(mysql_num_rows(res)) 977 { 978 guMode=2000; 979 tClient("<blink>Error: </blink>ASP company with that cLabel already exists."); 980 } 981 } 982 } 983 }//void BasictClientCheck(void) 984
