How to use execute class

Best Atoum code snippet using execute

20171201011744_POCOR3674.php

Source:20171201011744_POCOR3674.php Github

copy

Full Screen

...5 // commit6 public function up()7 {8 // backup translations table9 $this->execute('CREATE TABLE `z_3674_translations` LIKE `translations`');10 $this->execute('INSERT INTO `z_3674_translations` SELECT * FROM `translations`');11 // delete unused word in translations table12 $this->execute('DELETE FROM `translations` WHERE `id` = 2 And `en` = "Welcome"');13 $this->execute('DELETE FROM `translations` WHERE `id` = 11 And `en` = "Settings"');14 $this->execute('DELETE FROM `translations` WHERE `id` = 13 And `en` = "Demo"');15 $this->execute('DELETE FROM `translations` WHERE `id` = 15 And `en` = "Day"');16 $this->execute('DELETE FROM `translations` WHERE `id` = 16 And `en` = "Month"');17 $this->execute('DELETE FROM `translations` WHERE `id` = 17 And `en` = "Year"');18 $this->execute('DELETE FROM `translations` WHERE `id` = 20 And `en` = "Unisex"');19 $this->execute('DELETE FROM `translations` WHERE `id` = 29 And `en` = "Previous"');20 $this->execute('DELETE FROM `translations` WHERE `id` = 30 And `en` = "Next"');21 $this->execute('DELETE FROM `translations` WHERE `id` = 31 And `en` = "Statistics"');22 $this->execute('DELETE FROM `translations` WHERE `id` = 32 And `en` = "Institutions Sites"');23 $this->execute('DELETE FROM `translations` WHERE `id` = 33 And `en` = "Activities"');24 $this->execute('DELETE FROM `translations` WHERE `id` = 35 And `en` = "has been edited"');25 $this->execute('DELETE FROM `translations` WHERE `id` = 36 And `en` = "has been deleted"');26 $this->execute('DELETE FROM `translations` WHERE `id` = 37 And `en` = "has been added to the List of"');27 $this->execute('DELETE FROM `translations` WHERE `id` = 38 And `en` = "By"');28 $this->execute('DELETE FROM `translations` WHERE `id` = 40 And `en` = "Note: Max upload file size is 2MB."');29 $this->execute('DELETE FROM `translations` WHERE `id` = 41 And `en` = "Image"');30 $this->execute('DELETE FROM `translations` WHERE `id` = 42 And `en` = "Document"');31 $this->execute('DELETE FROM `translations` WHERE `id` = 44 And `en` = "Powerpoint"');32 $this->execute('DELETE FROM `translations` WHERE `id` = 45 And `en` = "File is deleted successfully."');33 $this->execute('DELETE FROM `translations` WHERE `id` = 46 And `en` = "File was deleted successfully."');34 $this->execute('DELETE FROM `translations` WHERE `id` = 47 And `en` = "Error occurred while deleting file."');35 $this->execute('DELETE FROM `translations` WHERE `id` = 48 And `en` = "Files have been saved successfully."');36 $this->execute('DELETE FROM `translations` WHERE `id` = 49 And `en` = "Some errors have been encountered while saving files."');37 $this->execute('DELETE FROM `translations` WHERE `id` = 50 And `en` = "Records have been added/updated successfully."');38 $this->execute('DELETE FROM `translations` WHERE `id` = 51 And `en` = "Records have been deleted successfully."');39 $this->execute('DELETE FROM `translations` WHERE `id` = 52 And `en` = "Error occurred while deleting record."');40 $this->execute('DELETE FROM `translations` WHERE `id` = 53 And `en` = " have been deleted successfully."');41 $this->execute('DELETE FROM `translations` WHERE `id` = 54 And `en` = "Searching..."');42 $this->execute('DELETE FROM `translations` WHERE `id` = 56 And `en` = "Please enter a unique Identification No"');43 $this->execute('DELETE FROM `translations` WHERE `id` = 57 And `en` = "Please enter a unique Code"');44 $this->execute('DELETE FROM `translations` WHERE `id` = 58 And `en` = "List of Students"');45 $this->execute('DELETE FROM `translations` WHERE `id` = 64 And `en` = "More"');46 $this->execute('DELETE FROM `translations` WHERE `id` = 65 And `en` = "Additional Info"');47 $this->execute('DELETE FROM `translations` WHERE `id` = 66 And `en` = "Student Information"');48 $this->execute('DELETE FROM `translations` WHERE `id` = 67 And `en` = "Static fields"');49 $this->execute('DELETE FROM `translations` WHERE `id` = 69 And `en` = "National Assessments"');50 $this->execute('DELETE FROM `translations` WHERE `id` = 71 And `en` = "Assessment Results"');51 $this->execute('DELETE FROM `translations` WHERE `id` = 72 And `en` = "Student Details"');52 $this->execute('DELETE FROM `translations` WHERE `id` = 73 And `en` = "Student History"');53 $this->execute('DELETE FROM `translations` WHERE `id` = 76 And `en` = "Student Identification No, First Name or Last Name"');54 $this->execute('DELETE FROM `translations` WHERE `id` = 77 And `en` = "Student Identification"');55 $this->execute('DELETE FROM `translations` WHERE `id` = 78 And `en` = "Teacher Identification"');56 $this->execute('DELETE FROM `translations` WHERE `id` = 79 And `en` = "Staff Identification"');57 $this->execute('DELETE FROM `translations` WHERE `id` = 80 And `en` = "Identification No."');58 $this->execute('DELETE FROM `translations` WHERE `id` = 81 And `en` = "Identification No"');59 $this->execute('DELETE FROM `translations` WHERE `id` = 90 And `en` = "Uploaded On"');60 $this->execute('DELETE FROM `translations` WHERE `id` = 96 And `en` = "Birth Place Area"');61 $this->execute('DELETE FROM `translations` WHERE `id` = 100 And `en` = "E-mail"');62 $this->execute('DELETE FROM `translations` WHERE `id` = 105 And `en` = "No history found."');63 $this->execute('DELETE FROM `translations` WHERE `id` = 106 And `en` = "List of Staff"');64 $this->execute('DELETE FROM `translations` WHERE `id` = 108 And `en` = "Staff Information"');65 $this->execute('DELETE FROM `translations` WHERE `id` = 109 And `en` = "Staff Details"');66 $this->execute('DELETE FROM `translations` WHERE `id` = 110 And `en` = "No Staff found."');67 $this->execute('DELETE FROM `translations` WHERE `id` = 111 And `en` = "Staff History"');68 $this->execute('DELETE FROM `translations` WHERE `id` = 112 And `en` = "List of Teachers"');69 $this->execute('DELETE FROM `translations` WHERE `id` = 113 And `en` = "Add new Teacher"');70 $this->execute('DELETE FROM `translations` WHERE `id` = 118 And `en` = "Teacher Details"');71 $this->execute('DELETE FROM `translations` WHERE `id` = 119 And `en` = "Teacher History"');72 $this->execute('DELETE FROM `translations` WHERE `id` = 120 And `en` = "Date of Issue"');73 $this->execute('DELETE FROM `translations` WHERE `id` = 121 And `en` = "Certificate"');74 $this->execute('DELETE FROM `translations` WHERE `id` = 122 And `en` = "Certificate No."');75 $this->execute('DELETE FROM `translations` WHERE `id` = 123 And `en` = "Issued By"');76 $this->execute('DELETE FROM `translations` WHERE `id` = 127 And `en` = "No Teacher found."');77 $this->execute('DELETE FROM `translations` WHERE `id` = 129 And `en` = "Please enter a valid First Name"');78 $this->execute('DELETE FROM `translations` WHERE `id` = 130 And `en` = "Please enter a valid Last Name"');79 $this->execute('DELETE FROM `translations` WHERE `id` = 131 And `en` = "Please enter a valid Identification No"');80 $this->execute('DELETE FROM `translations` WHERE `id` = 132 And `en` = "Please select a Gender"');81 $this->execute('DELETE FROM `translations` WHERE `id` = 135 And `en` = "Please select a Date of Birth"');82 $this->execute('DELETE FROM `translations` WHERE `id` = 137 And `en` = "Please enter a valid username"');83 $this->execute('DELETE FROM `translations` WHERE `id` = 138 And `en` = "This username is already in use."');84 $this->execute('DELETE FROM `translations` WHERE `id` = 139 And `en` = "Password must be at least 6 characters"');85 $this->execute('DELETE FROM `translations` WHERE `id` = 140 And `en` = "Please enter a valid password"');86 $this->execute('DELETE FROM `translations` WHERE `id` = 141 And `en` = "You need to assign a role to the user"');87 $this->execute('DELETE FROM `translations` WHERE `id` = 143 And `en` = "No Areas"');88 $this->execute('DELETE FROM `translations` WHERE `id` = 145 And `en` = "Edit Permissions"');89 $this->execute('DELETE FROM `translations` WHERE `id` = 146 And `en` = "Edit Role - Area Restricted"');90 $this->execute('DELETE FROM `translations` WHERE `id` = 147 And `en` = "Role - Area Restricted"');91 $this->execute('DELETE FROM `translations` WHERE `id` = 148 And `en` = "Edit Role Assignment"');92 $this->execute('DELETE FROM `translations` WHERE `id` = 149 And `en` = "Role Assignment"');93 $this->execute('DELETE FROM `translations` WHERE `id` = 150 And `en` = "Edit Roles"');94 $this->execute('DELETE FROM `translations` WHERE `id` = 154 And `en` = "Edit Details"');95 $this->execute('DELETE FROM `translations` WHERE `id` = 155 And `en` = "Edit Additional Info"');96 $this->execute('DELETE FROM `translations` WHERE `id` = 156 And `en` = "Edit Programmes"');97 $this->execute('DELETE FROM `translations` WHERE `id` = 160 And `en` = "Site Type"');98 $this->execute('DELETE FROM `translations` WHERE `id` = 161 And `en` = "Site Code"');99 $this->execute('DELETE FROM `translations` WHERE `id` = 163 And `en` = "Institution Name"');100 $this->execute('DELETE FROM `translations` WHERE `id` = 166 And `en` = "Site Name"');101 $this->execute('DELETE FROM `translations` WHERE `id` = 170 And `en` = "Province"');102 $this->execute('DELETE FROM `translations` WHERE `id` = 171 And `en` = "District"');103 $this->execute('DELETE FROM `translations` WHERE `id` = 172 And `en` = "LLG"');104 $this->execute('DELETE FROM `translations` WHERE `id` = 173 And `en` = "Ward"');105 $this->execute('DELETE FROM `translations` WHERE `id` = 174 And `en` = "Street"');106 $this->execute('DELETE FROM `translations` WHERE `id` = 175 And `en` = "Block"');107 $this->execute('DELETE FROM `translations` WHERE `id` = 176 And `en` = "Axis"');108 $this->execute('DELETE FROM `translations` WHERE `id` = 177 And `en` = "State"');109 $this->execute('DELETE FROM `translations` WHERE `id` = 184 And `en` = "Please enter a valid Name"');110 $this->execute('DELETE FROM `translations` WHERE `id` = 185 And `en` = "Please enter a valid Code"');111 $this->execute('DELETE FROM `translations` WHERE `id` = 186 And `en` = "Please select a Provider"');112 $this->execute('DELETE FROM `translations` WHERE `id` = 187 And `en` = "Please select a Status"');113 $this->execute('DELETE FROM `translations` WHERE `id` = 188 And `en` = "Please select the Date Opened"');114 $this->execute('DELETE FROM `translations` WHERE `id` = 190 And `en` = "Please select an Ownership"');115 $this->execute('DELETE FROM `translations` WHERE `id` = 191 And `en` = "Please select an Area"');116 $this->execute('DELETE FROM `translations` WHERE `id` = 192 And `en` = "Institution Code"');117 $this->execute('DELETE FROM `translations` WHERE `id` = 193 And `en` = "Institution Name or Code"');118 $this->execute('DELETE FROM `translations` WHERE `id` = 201 And `en` = "Add New"');119 $this->execute('DELETE FROM `translations` WHERE `id` = 206 And `en` = "Branch"');120 $this->execute('DELETE FROM `translations` WHERE `id` = 207 And `en` = "Bank Details"');121 $this->execute('DELETE FROM `translations` WHERE `id` = 208 And `en` = "National Education System"');122 $this->execute('DELETE FROM `translations` WHERE `id` = 210 And `en` = "Seats"');123 $this->execute('DELETE FROM `translations` WHERE `id` = 215 And `en` = "Totals"');124 $this->execute('DELETE FROM `translations` WHERE `id` = 217 And `en` = "Source"');125 $this->execute('DELETE FROM `translations` WHERE `id` = 218 And `en` = "Nature"');126 $this->execute('DELETE FROM `translations` WHERE `id` = 220 And `en` = "Edit Teachers"');127 $this->execute('DELETE FROM `translations` WHERE `id` = 221 And `en` = "Edit Training"');128 $this->execute('DELETE FROM `translations` WHERE `id` = 222 And `en` = "Edit Bank Accounts"');129 $this->execute('DELETE FROM `translations` WHERE `id` = 223 And `en` = "Edit Classes"');130 $this->execute('DELETE FROM `translations` WHERE `id` = 224 And `en` = "Edit Finances"');131 $this->execute('DELETE FROM `translations` WHERE `id` = 225 And `en` = "Edit Other Forms"');132 $this->execute('DELETE FROM `translations` WHERE `id` = 226 And `en` = "Edit Infrastructure"');133 $this->execute('DELETE FROM `translations` WHERE `id` = 227 And `en` = "Trained Teachers"');134 $this->execute('DELETE FROM `translations` WHERE `id` = 228 And `en` = "No Available Programmes"');135 $this->execute('DELETE FROM `translations` WHERE `id` = 229 And `en` = "Institution History"');136 $this->execute('DELETE FROM `translations` WHERE `id` = 231 And `en` = "My Details"');137 $this->execute('DELETE FROM `translations` WHERE `id` = 232 And `en` = "has been updated successfully."');138 $this->execute('DELETE FROM `translations` WHERE `id` = 233 And `en` = "Change Password"');139 $this->execute('DELETE FROM `translations` WHERE `id` = 234 And `en` = "successfully updated."');140 $this->execute('DELETE FROM `translations` WHERE `id` = 235 And `en` = "Please try again later."');141 $this->execute('DELETE FROM `translations` WHERE `id` = 236 And `en` = "Please enter your current password"');142 $this->execute('DELETE FROM `translations` WHERE `id` = 237 And `en` = "Current password does not match."');143 $this->execute('DELETE FROM `translations` WHERE `id` = 238 And `en` = "New password required."');144 $this->execute('DELETE FROM `translations` WHERE `id` = 239 And `en` = "Please enter a min of 6 alpha numeric characters."');145 $this->execute('DELETE FROM `translations` WHERE `id` = 240 And `en` = "Please enter alpha numeric characters."');146 $this->execute('DELETE FROM `translations` WHERE `id` = 241 And `en` = "Passwords do not match."');147 $this->execute('DELETE FROM `translations` WHERE `id` = 243 And `en` = "Support"');148 $this->execute('DELETE FROM `translations` WHERE `id` = 245 And `en` = "Edit My Details"');149 $this->execute('DELETE FROM `translations` WHERE `id` = 255 And `en` = "Orientation"');150 $this->execute('DELETE FROM `translations` WHERE `id` = 257 And `en` = "Certification"');151 $this->execute('DELETE FROM `translations` WHERE `id` = 259 And `en` = "January"');152 $this->execute('DELETE FROM `translations` WHERE `id` = 260 And `en` = "February"');153 $this->execute('DELETE FROM `translations` WHERE `id` = 261 And `en` = "March"');154 $this->execute('DELETE FROM `translations` WHERE `id` = 262 And `en` = "April"');155 $this->execute('DELETE FROM `translations` WHERE `id` = 263 And `en` = "May"');156 $this->execute('DELETE FROM `translations` WHERE `id` = 264 And `en` = "June"');157 $this->execute('DELETE FROM `translations` WHERE `id` = 265 And `en` = "July"');158 $this->execute('DELETE FROM `translations` WHERE `id` = 266 And `en` = "August"');159 $this->execute('DELETE FROM `translations` WHERE `id` = 267 And `en` = "September"');160 $this->execute('DELETE FROM `translations` WHERE `id` = 268 And `en` = "October"');161 $this->execute('DELETE FROM `translations` WHERE `id` = 269 And `en` = "November"');162 $this->execute('DELETE FROM `translations` WHERE `id` = 270 And `en` = "December"');163 $this->execute('DELETE FROM `translations` WHERE `id` = 271 And `en` = "Your session is timed out. Please login again."');164 $this->execute('DELETE FROM `translations` WHERE `id` = 272 And `en` = "You are not an authorized user."');165 $this->execute('DELETE FROM `translations` WHERE `id` = 273 And `en` = "You have encountered an unexpected error. Please contact the system administrator for assistance."');166 $this->execute('DELETE FROM `translations` WHERE `id` = 274 And `en` = "Host Unreachable"');167 $this->execute('DELETE FROM `translations` WHERE `id` = 275 And `en` = "Host is unreachable, please check your internet connection."');168 $this->execute('DELETE FROM `translations` WHERE `id` = 276 And `en` = "Session Timed Out"');169 $this->execute('DELETE FROM `translations` WHERE `id` = 277 And `en` = "Page not found"');170 $this->execute('DELETE FROM `translations` WHERE `id` = 278 And `en` = "The requested page cannot be found."');171 $this->execute('DELETE FROM `translations` WHERE `id` = 279 And `en` = "Please contact the administrator for assistance."');172 $this->execute('DELETE FROM `translations` WHERE `id` = 280 And `en` = "An unexpected error has occurred."');173 $this->execute('DELETE FROM `translations` WHERE `id` = 281 And `en` = "JSON parse failed"');174 $this->execute('DELETE FROM `translations` WHERE `id` = 282 And `en` = "Invalid JSON data."');175 $this->execute('DELETE FROM `translations` WHERE `id` = 283 And `en` = "Request Timeout"');176 $this->execute('DELETE FROM `translations` WHERE `id` = 284 And `en` = "Request Aborted"');177 $this->execute('DELETE FROM `translations` WHERE `id` = 285 And `en` = "Your request has been aborted."');178 $this->execute('DELETE FROM `translations` WHERE `id` = 286 And `en` = "Unexpected Error"');179 $this->execute('DELETE FROM `translations` WHERE `id` = 287 And `en` = "Edit System Configurations"');180 $this->execute('DELETE FROM `translations` WHERE `id` = 288 And `en` = "File is updated successfully."');181 $this->execute('DELETE FROM `translations` WHERE `id` = 289 And `en` = "Error occurred while updating file."');182 $this->execute('DELETE FROM `translations` WHERE `id` = 290 And `en` = "File have been updated successfully."');183 $this->execute('DELETE FROM `translations` WHERE `id` = 291 And `en` = "File has not been updated successfully."');184 $this->execute('DELETE FROM `translations` WHERE `id` = 292 And `en` = "File format not supported."');185 $this->execute('DELETE FROM `translations` WHERE `id` = 293 And `en` = "Image has exceeded the allow file size of"');186 $this->execute('DELETE FROM `translations` WHERE `id` = 294 And `en` = "Please reduce file size."');187 $this->execute('DELETE FROM `translations` WHERE `id` = 295 And `en` = "Image resolution is too small."');188 $this->execute('DELETE FROM `translations` WHERE `id` = 296 And `en` = "Error"');189 $this->execute('DELETE FROM `translations` WHERE `id` = 298 And `en` = "log does not exists"');190 $this->execute('DELETE FROM `translations` WHERE `id` = 299 And `en` = "Add new Institution"');191 $this->execute('DELETE FROM `translations` WHERE `id` = 300 And `en` = "Institution Details"');192 $this->execute('DELETE FROM `translations` WHERE `id` = 306 And `en` = "Census"');193 $this->execute('DELETE FROM `translations` WHERE `id` = 307 And `en` = "Enrolment"');194 $this->execute('DELETE FROM `translations` WHERE `id` = 313 And `en` = "Other Forms"');195 $this->execute('DELETE FROM `translations` WHERE `id` = 320 And `en` = "Edit Custom Fields"');196 $this->execute('DELETE FROM `translations` WHERE `id` = 321 And `en` = "Custom Table"');197 $this->execute('DELETE FROM `translations` WHERE `id` = 322 And `en` = "Edit Custom Table"');198 $this->execute('DELETE FROM `translations` WHERE `id` = 324 And `en` = "Accounts and Security"');199 $this->execute('DELETE FROM `translations` WHERE `id` = 327 And `en` = "Population"');200 $this->execute('DELETE FROM `translations` WHERE `id` = 328 And `en` = "Data Processing"');201 $this->execute('DELETE FROM `translations` WHERE `id` = 329 And `en` = "Generate Reports"');202 $this->execute('DELETE FROM `translations` WHERE `id` = 331 And `en` = "Processes"');203 $this->execute('DELETE FROM `translations` WHERE `id` = 332 And `en` = "Database"');204 $this->execute('DELETE FROM `translations` WHERE `id` = 333 And `en` = "Backup"');205 $this->execute('DELETE FROM `translations` WHERE `id` = 334 And `en` = "Restore"');206 $this->execute('DELETE FROM `translations` WHERE `id` = 337 And `en` = "Graduates not required."');207 $this->execute('DELETE FROM `translations` WHERE `id` = 339 And `en` = "Message Not Found."');208 $this->execute('DELETE FROM `translations` WHERE `id` = 340 And `en` = "Good"');209 $this->execute('DELETE FROM `translations` WHERE `id` = 341 And `en` = "Fair"');210 $this->execute('DELETE FROM `translations` WHERE `id` = 342 And `en` = "Poor"');211 $this->execute('DELETE FROM `translations` WHERE `id` = 348 And `en` = "Please enter your current password."');212 $this->execute('DELETE FROM `translations` WHERE `id` = 353 And `en` = "Edit Area Levels"');213 $this->execute('DELETE FROM `translations` WHERE `id` = 354 And `en` = "Structure"');214 $this->execute('DELETE FROM `translations` WHERE `id` = 360 And `en` = "Order"');215 $this->execute('DELETE FROM `translations` WHERE `id` = 362 And `en` = "ISCED Level"');216 $this->execute('DELETE FROM `translations` WHERE `id` = 366 And `en` = "Grade Subject"');217 $this->execute('DELETE FROM `translations` WHERE `id` = 367 And `en` = "Back to Programmes"');218 $this->execute('DELETE FROM `translations` WHERE `id` = 368 And `en` = "Back to Grades"');219 $this->execute('DELETE FROM `translations` WHERE `id` = 369 And `en` = "Graduates"');220 $this->execute('DELETE FROM `translations` WHERE `id` = 370 And `en` = "Please select a programme first."');221 $this->execute('DELETE FROM `translations` WHERE `id` = 372 And `en` = "an option"');222 $this->execute('DELETE FROM `translations` WHERE `id` = 373 And `en` = "School Year"');223 $this->execute('DELETE FROM `translations` WHERE `id` = 375 And `en` = "Available"');224 $this->execute('DELETE FROM `translations` WHERE `id` = 376 And `en` = "Categories"');225 $this->execute('DELETE FROM `translations` WHERE `id` = 378 And `en` = "Materials"');226 $this->execute('DELETE FROM `translations` WHERE `id` = 379 And `en` = "Resources"');227 $this->execute('DELETE FROM `translations` WHERE `id` = 380 And `en` = "Furniture"');228 $this->execute('DELETE FROM `translations` WHERE `id` = 381 And `en` = "Energy"');229 $this->execute('DELETE FROM `translations` WHERE `id` = 383 And `en` = "Sanitation"');230 $this->execute('DELETE FROM `translations` WHERE `id` = 384 And `en` = "Water"');231 $this->execute('DELETE FROM `translations` WHERE `id` = 385 And `en` = "Banks"');232 $this->execute('DELETE FROM `translations` WHERE `id` = 386 And `en` = "Capital Income"');233 $this->execute('DELETE FROM `translations` WHERE `id` = 387 And `en` = "Capital Expenditure"');234 $this->execute('DELETE FROM `translations` WHERE `id` = 388 And `en` = "Recurrent Income"');235 $this->execute('DELETE FROM `translations` WHERE `id` = 389 And `en` = "Recurrent Expenditure"');236 $this->execute('DELETE FROM `translations` WHERE `id` = 391 And `en` = "Instructional"');237 $this->execute('DELETE FROM `translations` WHERE `id` = 392 And `en` = "Support Services"');238 $this->execute('DELETE FROM `translations` WHERE `id` = 393 And `en` = "Facilities"');239 $this->execute('DELETE FROM `translations` WHERE `id` = 394 And `en` = "Qualification Certificates"');240 $this->execute('DELETE FROM `translations` WHERE `id` = 395 And `en` = "Qualification Categories"');241 $this->execute('DELETE FROM `translations` WHERE `id` = 396 And `en` = "Qualification Institutions"');242 $this->execute('DELETE FROM `translations` WHERE `id` = 398 And `en` = "Sources"');243 $this->execute('DELETE FROM `translations` WHERE `id` = 399 And `en` = "Branches"');244 $this->execute('DELETE FROM `translations` WHERE `id` = 400 And `en` = "Sanitations"');245 $this->execute('DELETE FROM `translations` WHERE `id` = 402 And `en` = "Single Line Text"');246 $this->execute('DELETE FROM `translations` WHERE `id` = 403 And `en` = "Multi Line Text"');247 $this->execute('DELETE FROM `translations` WHERE `id` = 404 And `en` = "Dropdown List"');248 $this->execute('DELETE FROM `translations` WHERE `id` = 406 And `en` = "Checkboxes"');249 $this->execute('DELETE FROM `translations` WHERE `id` = 407 And `en` = "Institution Custom Fields"');250 $this->execute('DELETE FROM `translations` WHERE `id` = 410 And `en` = "Student Custom Fields"');251 $this->execute('DELETE FROM `translations` WHERE `id` = 411 And `en` = "Teacher Custom Fields"');252 $this->execute('DELETE FROM `translations` WHERE `id` = 412 And `en` = "Staff Custom Fields"');253 $this->execute('DELETE FROM `translations` WHERE `id` = 414 And `en` = "Field Label"');254 $this->execute('DELETE FROM `translations` WHERE `id` = 416 And `en` = "Filter by"');255 $this->execute('DELETE FROM `translations` WHERE `id` = 417 And `en` = "X Category"');256 $this->execute('DELETE FROM `translations` WHERE `id` = 418 And `en` = "Y Category"');257 $this->execute('DELETE FROM `translations` WHERE `id` = 420 And `en` = "Dashboard Image"');258 $this->execute('DELETE FROM `translations` WHERE `id` = 421 And `en` = "Back to Config"');259 $this->execute('DELETE FROM `translations` WHERE `id` = 423 And `en` = "Date Format"');260 $this->execute('DELETE FROM `translations` WHERE `id` = 424 And `en` = "Currency"');261 $this->execute('DELETE FROM `translations` WHERE `id` = 426 And `en` = "Back to List"');262 $this->execute('DELETE FROM `translations` WHERE `id` = 427 And `en` = "Reconnecting..."');263 $this->execute('DELETE FROM `translations` WHERE `id` = 430 And `en` = "Education Management Information System"');264 $this->execute('DELETE FROM `translations` WHERE `id` = 438 And `en` = "Custom Tables"');265 $this->execute('DELETE FROM `translations` WHERE `id` = 441 And `en` = "Modules"');266 $this->execute('DELETE FROM `translations` WHERE `id` = 444 And `en` = "Retype Password"');267 $this->execute('DELETE FROM `translations` WHERE `id` = 445 And `en` = "User Details"');268 $this->execute('DELETE FROM `translations` WHERE `id` = 446 And `en` = "Full access on all modules"');269 $this->execute('DELETE FROM `translations` WHERE `id` = 447 And `en` = "Back to Roles"');270 $this->execute('DELETE FROM `translations` WHERE `id` = 449 And `en` = "PHP Version"');271 $this->execute('DELETE FROM `translations` WHERE `id` = 450 And `en` = "Web Server"');272 $this->execute('DELETE FROM `translations` WHERE `id` = 451 And `en` = "Operating System"');273 $this->execute('DELETE FROM `translations` WHERE `id` = 452 And `en` = "Data not available."');274 $this->execute('DELETE FROM `translations` WHERE `id` = 453 And `en` = "The selected report is currently being processed."');275 $this->execute('DELETE FROM `translations` WHERE `id` = 455 And `en` = "Student Reports"');276 $this->execute('DELETE FROM `translations` WHERE `id` = 456 And `en` = "Teacher Reports"');277 $this->execute('DELETE FROM `translations` WHERE `id` = 458 And `en` = "Consolidated Reports"');278 $this->execute('DELETE FROM `translations` WHERE `id` = 459 And `en` = "Indicator Reports"');279 $this->execute('DELETE FROM `translations` WHERE `id` = 460 And `en` = "Data Quality Reports"');280 $this->execute('DELETE FROM `translations` WHERE `id` = 462 And `en` = "Custom Reports"');281 $this->execute('DELETE FROM `translations` WHERE `id` = 463 And `en` = "Please contact"');282 $this->execute('DELETE FROM `translations` WHERE `id` = 465 And `en` = "for more information on Custom Reports."');283 $this->execute('DELETE FROM `translations` WHERE `id` = 466 And `en` = "Last Run"');284 $this->execute('DELETE FROM `translations` WHERE `id` = 469 And `en` = "List of Institutions"');285 $this->execute('DELETE FROM `translations` WHERE `id` = 476 And `en` = "Institution Programme Report"');286 $this->execute('DELETE FROM `translations` WHERE `id` = 477 And `en` = "List of Institutions with programmes"');287 $this->execute('DELETE FROM `translations` WHERE `id` = 478 And `en` = "Institution Bank Account Report"');288 $this->execute('DELETE FROM `translations` WHERE `id` = 479 And `en` = "List of Institutions with bank accounts"');289 $this->execute('DELETE FROM `translations` WHERE `id` = 480 And `en` = "Enrolment Report"');290 $this->execute('DELETE FROM `translations` WHERE `id` = 482 And `en` = "Class Report"');291 $this->execute('DELETE FROM `translations` WHERE `id` = 486 And `en` = "Teacher Report"');292 $this->execute('DELETE FROM `translations` WHERE `id` = 490 And `en` = "Staff Report"');293 $this->execute('DELETE FROM `translations` WHERE `id` = 496 And `en` = "Income Report"');294 $this->execute('DELETE FROM `translations` WHERE `id` = 498 And `en` = "Expenditure Report"');295 $this->execute('DELETE FROM `translations` WHERE `id` = 504 And `en` = "Sanitation Report"');296 $this->execute('DELETE FROM `translations` WHERE `id` = 505 And `en` = "Summary of sanitation, gender and condition from census"');297 $this->execute('DELETE FROM `translations` WHERE `id` = 506 And `en` = "Furniture Report"');298 $this->execute('DELETE FROM `translations` WHERE `id` = 508 And `en` = "Resource Report"');299 $this->execute('DELETE FROM `translations` WHERE `id` = 510 And `en` = "Energy Report"');300 $this->execute('DELETE FROM `translations` WHERE `id` = 512 And `en` = "Water Report"');301 $this->execute('DELETE FROM `translations` WHERE `id` = 514 And `en` = "Student Report"');302 $this->execute('DELETE FROM `translations` WHERE `id` = 515 And `en` = "Report on student"');303 $this->execute('DELETE FROM `translations` WHERE `id` = 518 And `en` = "Teacher List"');304 $this->execute('DELETE FROM `translations` WHERE `id` = 519 And `en` = "Report on Teachers"');305 $this->execute('DELETE FROM `translations` WHERE `id` = 522 And `en` = "Staff List"');306 $this->execute('DELETE FROM `translations` WHERE `id` = 523 And `en` = "Report on Staff"');307 $this->execute('DELETE FROM `translations` WHERE `id` = 526 And `en` = "Wheres My School Report"');308 $this->execute('DELETE FROM `translations` WHERE `id` = 527 And `en` = "A Google Earth (KML) file containing all the location of all Institutions"');309 $this->execute('DELETE FROM `translations` WHERE `id` = 528 And `en` = "Year Book Report"');310 $this->execute('DELETE FROM `translations` WHERE `id` = 530 And `en` = "Return Rate"');311 $this->execute('DELETE FROM `translations` WHERE `id` = 531 And `en` = "Census Discrepancy"');312 $this->execute('DELETE FROM `translations` WHERE `id` = 532 And `en` = "Backup files found."');313 $this->execute('DELETE FROM `translations` WHERE `id` = 534 And `en` = "Consolidated"');314 $this->execute('DELETE FROM `translations` WHERE `id` = 536 And `en` = "Summary of School\'s Census Data"');315 $this->execute('DELETE FROM `translations` WHERE `id` = 537 And `en` = "Non-Responsive Schools Report"');316 $this->execute('DELETE FROM `translations` WHERE `id` = 539 And `en` = "Data Discrepancy Report"');317 $this->execute('DELETE FROM `translations` WHERE `id` = 541 And `en` = "Number of students (enrollment) by sex, age, locality and grade"');318 $this->execute('DELETE FROM `translations` WHERE `id` = 542 And `en` = "Number of teachers by sex, locality and grade"');319 $this->execute('DELETE FROM `translations` WHERE `id` = 551 And `en` = "Divide the number of pupils (or students) enrolled who are of the official age group for a given level of education by the population for the same age group and multiply the result by 100. This indicator has dimension values of sex, locality and grade."');320 $this->execute('DELETE FROM `translations` WHERE `id` = 554 And `en` = "Divide the number of children of official primary school-entrance age who enter the first grade of primary education for the first time by the population of the same age, and multiply the result by 100. This indicator has dimension values of sex and locality."');321 $this->execute('DELETE FROM `translations` WHERE `id` = 556 And `en` = "Divide the number of pupils (or students) enrolled in a given level of education regardless of age by the population of the age group which officially corresponds to the given level of education, and multiply the result by 100. This indicator has dimension values of sex, locality and grade."');322 $this->execute('DELETE FROM `translations` WHERE `id` = 557 And `en` = "Divide the number of new entrants in grade 1, irrespective of age, by the population of official school-entrance age, and multiply the result by 100. This indicator has dimension values of sex, locality and grade."');323 $this->execute('DELETE FROM `translations` WHERE `id` = 559 And `en` = "Divide the number of repeaters in a given grade in school year t+1 by the number of pupils from the same cohort enrolled in the same grade in the previous school year t . This indicator has dimension values of sex, locality, sector and grade."');324 $this->execute('DELETE FROM `translations` WHERE `id` = 561 And `en` = "Divide the number of primary graduates, irrespective of age, by the population of theoretical primary graduation, and multiply the result by 100. This indicator has dimension values of sex, locality and sector."');325 $this->execute('DELETE FROM `translations` WHERE `id` = 563 And `en` = "Divide the total number of pupils belonging to a school-cohort who reached each successive grade of the specified level of education by the number of pupils in the school-cohort i.e. those originally enrolled in the first grade of primary education, and multiply the result by 100. The survival rate is calculated on the basis of the reconstructed cohort method, which uses data on enrolment and repeaters for two consecutive years. This indicator has dimension values of sex, locality and sector."');326 $this->execute('DELETE FROM `translations` WHERE `id` = 565 And `en` = "Divide the number of new entrants in the first grade of the specified higher cycle or level of education by the number of pupils who were enrolled in the final grade of the preceding cycle or level of education in the previous school year, and multiply by 100. This indicator has dimension values of sex, locality, sector and grade."');327 $this->execute('DELETE FROM `translations` WHERE `id` = 567 And `en` = "Divide the total number of pupils enrolled at the specified level of education by the number of teachers at the same level. This indicator has dimension values of locality, sector and level of education."');328 $this->execute('DELETE FROM `translations` WHERE `id` = 571 And `en` = "Divide the number of teachers of the specified level of education who have received the minimum required teacher training by the total number of teachers at the same level of education, and multiply the result by 100. This indicator has dimension values of locality, sector and level of education."');329 $this->execute('DELETE FROM `translations` WHERE `id` = 573 And `en` = "Divide the number of female students by the number of male students. This indicator has dimension values of sex, locality, sector and level of education."');330 $this->execute('DELETE FROM `translations` WHERE `id` = 575 And `en` = "Divide the number of female tertiary students enrolled in a specified ISCED level by the total number of students (male plus female) in that level in a given academic-year, and multiply the result by 100. This indicator has dimension values of locality, sector and level of education."');331 $this->execute('DELETE FROM `translations` WHERE `id` = 577 And `en` = "Divide the total number of female teachers at a given level of education by the total number of teachers (male and female) at the same level in a given school year, and multiply by 100. This indicator has dimension values of locality, sector and level of education."');332 $this->execute('DELETE FROM `translations` WHERE `id` = 579 And `en` = "Divide the number of pupils (or students) enrolled in private educational institutions in a given level of education by total enrolment (public and private) at the same level of education, and multiply the result by 100. This indicator has dimension values of sex, locality and level of education."');333 $this->execute('DELETE FROM `translations` WHERE `id` = 581 And `en` = "Divide the total number of pupils enrolled at the specified level of education by the number of textbooks at the same level. This indicator has dimension values of locality, and sector."');334 $this->execute('DELETE FROM `translations` WHERE `id` = 583 And `en` = "Number of water sources by type. This indicator has dimension values of locality, sector and condition."');335 $this->execute('DELETE FROM `translations` WHERE `id` = 585 And `en` = "Number of sanitation facilities by type. This indicator has dimension values of locality, sector and condition."');336 $this->execute('DELETE FROM `translations` WHERE `id` = 594 And `en` = "Process"');337 $this->execute('DELETE FROM `translations` WHERE `id` = 595 And `en` = "Abort All"');338 $this->execute('DELETE FROM `translations` WHERE `id` = 596 And `en` = "Clear All"');339 $this->execute('DELETE FROM `translations` WHERE `id` = 597 And `en` = "Started By"');340 $this->execute('DELETE FROM `translations` WHERE `id` = 598 And `en` = "Started Date"');341 $this->execute('DELETE FROM `translations` WHERE `id` = 599 And `en` = "Finished Date"');342 $this->execute('DELETE FROM `translations` WHERE `id` = 600 And `en` = "Log"');343 $this->execute('DELETE FROM `translations` WHERE `id` = 603 And `en` = "Aborted"');344 $this->execute('DELETE FROM `translations` WHERE `id` = 605 And `en` = "Export To"');345 $this->execute('DELETE FROM `translations` WHERE `id` = 607 And `en` = "No Data"');346 $this->execute('DELETE FROM `translations` WHERE `id` = 608 And `en` = "GNP"');347 $this->execute('DELETE FROM `translations` WHERE `id` = 610 And `en` = "No Available Finance Records"');348 $this->execute('DELETE FROM `translations` WHERE `id` = 614 And `en` = "Security Users, Roles, and Functions"');349 $this->execute('DELETE FROM `translations` WHERE `id` = 615 And `en` = "System Configuration Values"');350 $this->execute('DELETE FROM `translations` WHERE `id` = 618 And `en` = "Run Reports"');351 $this->execute('DELETE FROM `translations` WHERE `id` = 619 And `en` = "Select All"');352 $this->execute('DELETE FROM `translations` WHERE `id` = 620 And `en` = "De-Select All"');353 $this->execute('DELETE FROM `translations` WHERE `id` = 621 And `en` = "Generate"');354 $this->execute('DELETE FROM `translations` WHERE `id` = 622 And `en` = "Generated Files"');355 $this->execute('DELETE FROM `translations` WHERE `id` = 625 And `en` = "Below are the list of available backup dates, please choose a restore point."');356 $this->execute('DELETE FROM `translations` WHERE `id` = 626 And `en` = "Files"');357 $this->execute('DELETE FROM `translations` WHERE `id` = 627 And `en` = "Format not support."');358 $this->execute('DELETE FROM `translations` WHERE `id` = 628 And `en` = "Image filesize too large."');359 $this->execute('DELETE FROM `translations` WHERE `id` = 629 And `en` = "Resolution too large."');360 $this->execute('DELETE FROM `translations` WHERE `id` = 630 And `en` = "File uploaded with success."');361 $this->execute('DELETE FROM `translations` WHERE `id` = 631 And `en` = "Image exceeds system max filesize."');362 $this->execute('DELETE FROM `translations` WHERE `id` = 632 And `en` = "Image exceeds max file size in the HTML form."');363 $this->execute('DELETE FROM `translations` WHERE `id` = 633 And `en` = "Image was only partially uploaded."');364 $this->execute('DELETE FROM `translations` WHERE `id` = 634 And `en` = "No image was uploaded."');365 $this->execute('DELETE FROM `translations` WHERE `id` = 635 And `en` = "Missing a temporary folder."');366 $this->execute('DELETE FROM `translations` WHERE `id` = 636 And `en` = "Failed to write file to disk."');367 $this->execute('DELETE FROM `translations` WHERE `id` = 637 And `en` = "A PHP extension stopped the file upload."');368 $this->execute('DELETE FROM `translations` WHERE `id` = 638 And `en` = "Max Resolution:"');369 $this->execute('DELETE FROM `translations` WHERE `id` = 639 And `en` = "Max File Size:"');370 $this->execute('DELETE FROM `translations` WHERE `id` = 640 And `en` = "Format Supported:"');371 $this->execute('DELETE FROM `translations` WHERE `id` = 641 And `en` = "Profile Image"');372 $this->execute('DELETE FROM `translations` WHERE `id` = 642 And `en` = "Please enter the code for the Area."');373 $this->execute('DELETE FROM `translations` WHERE `id` = 643 And `en` = "There are duplicate area code."');374 $this->execute('DELETE FROM `translations` WHERE `id` = 644 And `en` = "Please enter the name for the Area."');375 $this->execute('DELETE FROM `translations` WHERE `id` = 645 And `en` = "Please supply a valid image."');376 $this->execute('DELETE FROM `translations` WHERE `id` = 646 And `en` = "Please enter a name for the Field of Study."');377 $this->execute('DELETE FROM `translations` WHERE `id` = 647 And `en` = "This Field of Study already exists in the system."');378 $this->execute('DELETE FROM `translations` WHERE `id` = 648 And `en` = "Please select the programme orientation."');379 $this->execute('DELETE FROM `translations` WHERE `id` = 649 And `en` = "Please enter a name for the Subject."');380 $this->execute('DELETE FROM `translations` WHERE `id` = 650 And `en` = "This subject already exists in the system."');381 $this->execute('DELETE FROM `translations` WHERE `id` = 651 And `en` = "You have entered an invalid username or password."');382 $this->execute('DELETE FROM `translations` WHERE `id` = 652 And `en` = "Please enter a duration."');383 $this->execute('DELETE FROM `translations` WHERE `id` = 653 And `en` = "Add Programme"');384 $this->execute('DELETE FROM `translations` WHERE `id` = 655 And `en` = "Deleting attachment..."');385 $this->execute('DELETE FROM `translations` WHERE `id` = 656 And `en` = "Delete Attachment"');386 $this->execute('DELETE FROM `translations` WHERE `id` = 657 And `en` = "Do you wish to delete this record?"');387 $this->execute('DELETE FROM `translations` WHERE `id` = 658 And `en` = "Updating attachment..."');388 $this->execute('DELETE FROM `translations` WHERE `id` = 659 And `en` = "Bank Branch is required!"');389 $this->execute('DELETE FROM `translations` WHERE `id` = 662 And `en` = "Unsaved Data"');390 $this->execute('DELETE FROM `translations` WHERE `id` = 664 And `en` = "Are you sure you want to leave?"');391 $this->execute('DELETE FROM `translations` WHERE `id` = 666 And `en` = "Category is required!"');392 $this->execute('DELETE FROM `translations` WHERE `id` = 667 And `en` = "Certificate is required!"');393 $this->execute('DELETE FROM `translations` WHERE `id` = 669 And `en` = "Please select a country before adding new records."');394 $this->execute('DELETE FROM `translations` WHERE `id` = 670 And `en` = "Error has occurred."');395 $this->execute('DELETE FROM `translations` WHERE `id` = 671 And `en` = "Age cannot be empty."');396 $this->execute('DELETE FROM `translations` WHERE `id` = 672 And `en` = "Age must be more then 0."');397 $this->execute('DELETE FROM `translations` WHERE `id` = 675 And `en` = "Dialog"');398 $this->execute('DELETE FROM `translations` WHERE `id` = 676 And `en` = "Required Field"');399 $this->execute('DELETE FROM `translations` WHERE `id` = 677 And `en` = "Retrieving..."');400 $this->execute('DELETE FROM `translations` WHERE `id` = 678 And `en` = "Adding row..."');401 $this->execute('DELETE FROM `translations` WHERE `id` = 679 And `en` = "Adding option..."');402 $this->execute('DELETE FROM `translations` WHERE `id` = 681 And `en` = "Loading list..."');403 $this->execute('DELETE FROM `translations` WHERE `id` = 682 And `en` = "File is required!"');404 $this->execute('DELETE FROM `translations` WHERE `id` = 683 And `en` = "Status is required!"');405 $this->execute('DELETE FROM `translations` WHERE `id` = 684 And `en` = "Move Up"');406 $this->execute('DELETE FROM `translations` WHERE `id` = 685 And `en` = "Move Down"');407 $this->execute('DELETE FROM `translations` WHERE `id` = 686 And `en` = "Toggle this field active/inactive"');408 $this->execute('DELETE FROM `translations` WHERE `id` = 687 And `en` = "Delete Confirmation"');409 $this->execute('DELETE FROM `translations` WHERE `id` = 688 And `en` = "Click to dismiss"');410 $this->execute('DELETE FROM `translations` WHERE `id` = 689 And `en` = "Unable to add Areas.<br/>Please create Area Level before adding Areas."');411 $this->execute('DELETE FROM `translations` WHERE `id` = 690 And `en` = "Saving please wait..."');412 $this->execute('DELETE FROM `translations` WHERE `id` = 691 And `en` = "Loading Areas"');413 $this->execute('DELETE FROM `translations` WHERE `id` = 694 And `en` = "Adding Field..."');414 $this->execute('DELETE FROM `translations` WHERE `id` = 695 And `en` = "Please select a valid Start Date"');415 $this->execute('DELETE FROM `translations` WHERE `id` = 696 And `en` = "Please select a valid End Date"');416 $this->execute('DELETE FROM `translations` WHERE `id` = 697 And `en` = "Please add a programme to this institution site."');417 $this->execute('DELETE FROM `translations` WHERE `id` = 698 And `en` = "Missing Coordinates Report"');418 $this->execute('DELETE FROM `translations` WHERE `id` = 699 And `en` = "List of Institutions with latitude and/or longitude values of 0 or null"');419 $this->execute('DELETE FROM `translations` WHERE `id` = 710 And `en` = "Area Name"');420 $this->execute('DELETE FROM `translations` WHERE `id` = 711 And `en` = "Education Programme Name"');421 $this->execute('DELETE FROM `translations` WHERE `id` = 713 And `en` = "Bank Account Number"');422 $this->execute('DELETE FROM `translations` WHERE `id` = 714 And `en` = "Bank Account Active"');423 $this->execute('DELETE FROM `translations` WHERE `id` = 716 And `en` = "Academic Year"');424 $this->execute('DELETE FROM `translations` WHERE `id` = 717 And `en` = "Education Grade Name"');425 $this->execute('DELETE FROM `translations` WHERE `id` = 719 And `en` = "Education Subject Name"');426 $this->execute('DELETE FROM `translations` WHERE `id` = 720 And `en` = "No Of Textbooks"');427 $this->execute('DELETE FROM `translations` WHERE `id` = 721 And `en` = "Grid X Category"');428 $this->execute('DELETE FROM `translations` WHERE `id` = 722 And `en` = "Grid Y Category"');429 $this->execute('DELETE FROM `translations` WHERE `id` = 724 And `en` = "Material"');430 $this->execute('DELETE FROM `translations` WHERE `id` = 726 And `en` = "Resource"');431 $this->execute('DELETE FROM `translations` WHERE `id` = 728 And `en` = "Teacher Name"');432 $this->execute('DELETE FROM `translations` WHERE `id` = 729 And `en` = "Staff Name"');433 $this->execute('DELETE FROM `translations` WHERE `id` = 732 And `en` = "Institution Provider"');434 $this->execute('DELETE FROM `translations` WHERE `id` = 733 And `en` = "Institution Status (حالة المدرسة)"');435 $this->execute('DELETE FROM `translations` WHERE `id` = 740 And `en` = "Student Category"');436 $this->execute('DELETE FROM `translations` WHERE `id` = 742 And `en` = "Yearbook"');437 $this->execute('DELETE FROM `translations` WHERE `id` = 743 And `en` = "Organization Name"');438 $this->execute('DELETE FROM `translations` WHERE `id` = 744 And `en` = "Publication Date"');439 $this->execute('DELETE FROM `translations` WHERE `id` = 748 And `en` = "Page Orientation"');440 $this->execute('DELETE FROM `translations` WHERE `id` = 749 And `en` = "Yearbook Logo"');441 $this->execute('DELETE FROM `translations` WHERE `id` = 750 And `en` = "Maximum Student Age"');442 $this->execute('DELETE FROM `translations` WHERE `id` = 751 And `en` = "Minimum Student Age"');443 $this->execute('DELETE FROM `translations` WHERE `id` = 752 And `en` = "Maximum Student Number"');444 $this->execute('DELETE FROM `translations` WHERE `id` = 753 And `en` = "Minimum Student Number"');445 $this->execute('DELETE FROM `translations` WHERE `id` = 756 And `en` = "Previous Year"');446 $this->execute('DELETE FROM `translations` WHERE `id` = 757 And `en` = "Previous Year Male"');447 $this->execute('DELETE FROM `translations` WHERE `id` = 758 And `en` = "Previous Year Female"');448 $this->execute('DELETE FROM `translations` WHERE `id` = 759 And `en` = "Data Discrepancy Reports"');449 $this->execute('DELETE FROM `translations` WHERE `id` = 762 And `en` = "Quality - Rubrics"');450 $this->execute('DELETE FROM `translations` WHERE `id` = 770 And `en` = "View Rubric"');451 $this->execute('DELETE FROM `translations` WHERE `id` = 772 And `en` = "Quality"');452 $this->execute('DELETE FROM `translations` WHERE `id` = 773 And `en` = "Rubric Details"');453 $this->execute('DELETE FROM `translations` WHERE `id` = 774 And `en` = "Quality - Rubric Details"');454 $this->execute('DELETE FROM `translations` WHERE `id` = 775 And `en` = "Quality - Edit Rubric Details"');455 $this->execute('DELETE FROM `translations` WHERE `id` = 776 And `en` = "Add Heading"');456 $this->execute('DELETE FROM `translations` WHERE `id` = 777 And `en` = "Add Criteria Row"');457 $this->execute('DELETE FROM `translations` WHERE `id` = 778 And `en` = "Add Level Column"');458 $this->execute('DELETE FROM `translations` WHERE `id` = 779 And `en` = "Edit Rubric Details"');459 $this->execute('DELETE FROM `translations` WHERE `id` = 782 And `en` = "Quality - Rubric"');460 $this->execute('DELETE FROM `translations` WHERE `id` = 783 And `en` = "Supervisor"');461 $this->execute('DELETE FROM `translations` WHERE `id` = 784 And `en` = "Quality - Rubric Detail"');462 $this->execute('DELETE FROM `translations` WHERE `id` = 787 And `en` = "Quality - Visit"');463 $this->execute('DELETE FROM `translations` WHERE `id` = 793 And `en` = "Quality - Add Rubric"');464 $this->execute('DELETE FROM `translations` WHERE `id` = 794 And `en` = "Add Rubric"');465 $this->execute('DELETE FROM `translations` WHERE `id` = 795 And `en` = "Quality - Rubric Infomations"');466 $this->execute('DELETE FROM `translations` WHERE `id` = 796 And `en` = "Rubric Infomations"');467 $this->execute('DELETE FROM `translations` WHERE `id` = 797 And `en` = "Quality - Edit Rubric"');468 $this->execute('DELETE FROM `translations` WHERE `id` = 798 And `en` = "Edit Rubric"');469 $this->execute('DELETE FROM `translations` WHERE `id` = 799 And `en` = "Quality - Setup Rubric Criteria"');470 $this->execute('DELETE FROM `translations` WHERE `id` = 800 And `en` = "Setup Rubric Criteria"');471 $this->execute('DELETE FROM `translations` WHERE `id` = 801 And `en` = "Quality - Add Rubric Criteria"');472 $this->execute('DELETE FROM `translations` WHERE `id` = 802 And `en` = "Add Rubric Criteria"');473 $this->execute('DELETE FROM `translations` WHERE `id` = 803 And `en` = "Quality - Edit Rubric Criteria"');474 $this->execute('DELETE FROM `translations` WHERE `id` = 804 And `en` = "Edit Rubric Criteria"');475 $this->execute('DELETE FROM `translations` WHERE `id` = 805 And `en` = "Quality - Rubric Criteria"');476 $this->execute('DELETE FROM `translations` WHERE `id` = 806 And `en` = "Rubric Criteria"');477 $this->execute('DELETE FROM `translations` WHERE `id` = 807 And `en` = "Quality - Status"');478 $this->execute('DELETE FROM `translations` WHERE `id` = 808 And `en` = "Quality - Add Status"');479 $this->execute('DELETE FROM `translations` WHERE `id` = 809 And `en` = "Quality - Edit Status"');480 $this->execute('DELETE FROM `translations` WHERE `id` = 810 And `en` = "Quality - Add Rubrics"');481 $this->execute('DELETE FROM `translations` WHERE `id` = 811 And `en` = "Quality - Edit Rubrics"');482 $this->execute('DELETE FROM `translations` WHERE `id` = 812 And `en` = "Quality - Add Visit"');483 $this->execute('DELETE FROM `translations` WHERE `id` = 813 And `en` = "Quality - Edit Visit"');484 $this->execute('DELETE FROM `translations` WHERE `id` = 815 And `en` = "Identity Details"');485 $this->execute('DELETE FROM `translations` WHERE `id` = 816 And `en` = "Edit Identity Details"');486 $this->execute('DELETE FROM `translations` WHERE `id` = 818 And `en` = "Issued"');487 $this->execute('DELETE FROM `translations` WHERE `id` = 819 And `en` = "Expiry"');488 $this->execute('DELETE FROM `translations` WHERE `id` = 822 And `en` = "Issue Location"');489 $this->execute('DELETE FROM `translations` WHERE `id` = 832 And `en` = "Goal / Objectives"');490 $this->execute('DELETE FROM `translations` WHERE `id` = 833 And `en` = "Category / Field of Study"');491 $this->execute('DELETE FROM `translations` WHERE `id` = 834 And `en` = "Target Population"');492 $this->execute('DELETE FROM `translations` WHERE `id` = 835 And `en` = "Add Target Population"');493 $this->execute('DELETE FROM `translations` WHERE `id` = 841 And `en` = "Prerequisite"');494 $this->execute('DELETE FROM `translations` WHERE `id` = 842 And `en` = "Add Prerequisite"');495 $this->execute('DELETE FROM `translations` WHERE `id` = 843 And `en` = "Pass Result"');496 $this->execute('DELETE FROM `translations` WHERE `id` = 845 And `en` = "Courses Details"');497 $this->execute('DELETE FROM `translations` WHERE `id` = 846 And `en` = "Sessions Details"');498 $this->execute('DELETE FROM `translations` WHERE `id` = 847 And `en` = "Inactivate"');499 $this->execute('DELETE FROM `translations` WHERE `id` = 848 And `en` = "Activate"');500 $this->execute('DELETE FROM `translations` WHERE `id` = 852 And `en` = "Results Details"');501 $this->execute('DELETE FROM `translations` WHERE `id` = 854 And `en` = "Self-Study"');502 $this->execute('DELETE FROM `translations` WHERE `id` = 855 And `en` = "Credit"');503 $this->execute('DELETE FROM `translations` WHERE `id` = 857 And `en` = "Training Needs Details"');504 $this->execute('DELETE FROM `translations` WHERE `id` = 858 And `en` = "Priority"');505 $this->execute('DELETE FROM `translations` WHERE `id` = 860 And `en` = "Training Results Details"');506 $this->execute('DELETE FROM `translations` WHERE `id` = 861 And `en` = "Training Self Study"');507 $this->execute('DELETE FROM `translations` WHERE `id` = 862 And `en` = "Training Self Study Details"');508 $this->execute('DELETE FROM `translations` WHERE `id` = 864 And `en` = "Credits"');509 $this->execute('DELETE FROM `translations` WHERE `id` = 866 And `en` = "Your data has been saved successfully."');510 $this->execute('DELETE FROM `translations` WHERE `id` = 867 And `en` = "Please select a Type"');511 $this->execute('DELETE FROM `translations` WHERE `id` = 868 And `en` = "Please enter a valid Message"');512 $this->execute('DELETE FROM `translations` WHERE `id` = 869 And `en` = "Please enter a valid Number"');513 $this->execute('DELETE FROM `translations` WHERE `id` = 870 And `en` = "Please enter a valid Issue Location"');514 $this->execute('DELETE FROM `translations` WHERE `id` = 871 And `en` = "Expiry Date must be greater than Issue Date"');515 $this->execute('DELETE FROM `translations` WHERE `id` = 873 And `en` = "Nationality Details"');516 $this->execute('DELETE FROM `translations` WHERE `id` = 874 And `en` = "Edit Nationality Details"');517 $this->execute('DELETE FROM `translations` WHERE `id` = 875 And `en` = "Please select a Country"');518 $this->execute('DELETE FROM `translations` WHERE `id` = 878 And `en` = "Messages"');519 $this->execute('DELETE FROM `translations` WHERE `id` = 879 And `en` = "Responses"');520 $this->execute('DELETE FROM `translations` WHERE `id` = 883 And `en` = "Add Message"');521 $this->execute('DELETE FROM `translations` WHERE `id` = 884 And `en` = "Message Details"');522 $this->execute('DELETE FROM `translations` WHERE `id` = 885 And `en` = "Edit Message Details"');523 $this->execute('DELETE FROM `translations` WHERE `id` = 886 And `en` = "All logs have been deleted successfully."');524 $this->execute('DELETE FROM `translations` WHERE `id` = 887 And `en` = "All responses have been deleted successfully."');525 $this->execute('DELETE FROM `translations` WHERE `id` = 889 And `en` = "Sent"');526 $this->execute('DELETE FROM `translations` WHERE `id` = 890 And `en` = "Received"');527 $this->execute('DELETE FROM `translations` WHERE `id` = 891 And `en` = "Warning"');528 $this->execute('DELETE FROM `translations` WHERE `id` = 892 And `en` = "Continue"');529 $this->execute('DELETE FROM `translations` WHERE `id` = 893 And `en` = "Note: Please clear the Responses page as existing responses may no longer match the updated Messages."');530 $this->execute('DELETE FROM `translations` WHERE `id` = 894 And `en` = "Do you wish to clear all records?"');531 $this->execute('DELETE FROM `translations` WHERE `id` = 895 And `en` = "Date/Time"');532 $this->execute('DELETE FROM `translations` WHERE `id` = 896 And `en` = "Confirmation"');533 $this->execute('DELETE FROM `translations` WHERE `id` = 898 And `en` = "Do you wish to inactivate this record?"');534 $this->execute('DELETE FROM `translations` WHERE `id` = 899 And `en` = "Do you wish to activate this record?"');535 $this->execute('DELETE FROM `translations` WHERE `id` = 902 And `en` = "Mode of Deliveries"');536 $this->execute('DELETE FROM `translations` WHERE `id` = 903 And `en` = "Priorities"');537 $this->execute('DELETE FROM `translations` WHERE `id` = 905 And `en` = "Requirements"');538 $this->execute('DELETE FROM `translations` WHERE `id` = 907 And `en` = "Edit Field Options"');539 $this->execute('DELETE FROM `translations` WHERE `id` = 909 And `en` = "Identification No, First Name or Last Name"');540 $this->execute('DELETE FROM `translations` WHERE `id` = 910 And `en` = "Pass"');541 $this->execute('DELETE FROM `translations` WHERE `id` = 913 And `en` = "Please add an area level to this area"');542 $this->execute('DELETE FROM `translations` WHERE `id` = 914 And `en` = "There are no assessments"');543 $this->execute('DELETE FROM `translations` WHERE `id` = 918 And `en` = "Build"');544 $this->execute('DELETE FROM `translations` WHERE `id` = 924 And `en` = "Quality Assurance Report"');545 $this->execute('DELETE FROM `translations` WHERE `id` = 926 And `en` = "Time Periods"');546 $this->execute('DELETE FROM `translations` WHERE `id` = 927 And `en` = "Advance Search"');547 $this->execute('DELETE FROM `translations` WHERE `id` = 928 And `en` = "OpenEMIS ID, First Name or Last Name"');548 $this->execute('DELETE FROM `translations` WHERE `id` = 931 And `en` = "Date of Death"');549 $this->execute('DELETE FROM `translations` WHERE `id` = 932 And `en` = "No File Chosen"');550 $this->execute('DELETE FROM `translations` WHERE `id` = 933 And `en` = "Max Resolution"');551 $this->execute('DELETE FROM `translations` WHERE `id` = 934 And `en` = "Your request has been timed out. Please try again."');552 $this->execute('DELETE FROM `translations` WHERE `id` = 935 And `en` = "OVERWRITE ALL"');553 $this->execute('DELETE FROM `translations` WHERE `id` = 937 And `en` = "Choose File"');554 $this->execute('DELETE FROM `translations` WHERE `id` = 938 And `en` = "File have not been updated successfully."');555 $this->execute('DELETE FROM `translations` WHERE `id` = 939 And `en` = "Completion Rate / Gross Primary Graduation Ratio"');556 $this->execute('DELETE FROM `translations` WHERE `id` = 940 And `en` = "Divide the number of primary graduates, irrespective of age, by the population of theoretical primary graduation, and multiply the result by 100."');557 $this->execute('DELETE FROM `translations` WHERE `id` = 941 And `en` = "Percentage of Trained Teachers"');558 $this->execute('DELETE FROM `translations` WHERE `id` = 943 And `en` = "Percent of Female Students"');559 $this->execute('DELETE FROM `translations` WHERE `id` = 944 And `en` = "Percent of Female Teachers"');560 $this->execute('DELETE FROM `translations` WHERE `id` = 945 And `en` = "Percentage of Private Enrolment"');561 $this->execute('DELETE FROM `translations` WHERE `id` = 946 And `en` = "Percentage of schools with improved drinking water sources"');562 $this->execute('DELETE FROM `translations` WHERE `id` = 947 And `en` = "Percentage of schools with adequate sanitation facilities"');563 $this->execute('DELETE FROM `translations` WHERE `id` = 949 And `en` = "Divide public current expenditure devoted to each level of education by the total public current expenditure on education, and multiply the result by 100. Divide public current expenditure on education in a given financial year by the total public expenditure on education for the same financial year and multiply the result by 100."');564 $this->execute('DELETE FROM `translations` WHERE `id` = 964 And `en` = "Report on conditions, number, kinds of water source of Institutions"');565 $this->execute('DELETE FROM `translations` WHERE `id` = 965 And `en` = "Student List"');566 $this->execute('DELETE FROM `translations` WHERE `id` = 969 And `en` = "List of institution\'s additional info"');567 $this->execute('DELETE FROM `translations` WHERE `id` = 971 And `en` = "Class List"');568 $this->execute('DELETE FROM `translations` WHERE `id` = 972 And `en` = "Report on classes"');569 $this->execute('DELETE FROM `translations` WHERE `id` = 981 And `en` = "Institution List"');570 $this->execute('DELETE FROM `translations` WHERE `id` = 982 And `en` = "Report on institutions"');571 $this->execute('DELETE FROM `translations` WHERE `id` = 990 And `en` = "Wizard"');572 $this->execute('DELETE FROM `translations` WHERE `id` = 991 And `en` = "Skip"');573 $this->execute('DELETE FROM `translations` WHERE `id` = 992 And `en` = "have been deleted successfully."');574 $this->execute('DELETE FROM `translations` WHERE `id` = 993 And `en` = "Edit Attachments"');575 $this->execute('DELETE FROM `translations` WHERE `id` = 995 And `en` = "Partners"');576 $this->execute('DELETE FROM `translations` WHERE `id` = 996 And `en` = "Verifications"');577 $this->execute('DELETE FROM `translations` WHERE `id` = 1001 And `en` = "Summary of sanitation, gender and conditions from census"');578 $this->execute('DELETE FROM `translations` WHERE `id` = 1005 And `en` = "Add Provider"');579 $this->execute('DELETE FROM `translations` WHERE `id` = 1007 And `en` = "Course Prerequisite"');580 $this->execute('DELETE FROM `translations` WHERE `id` = 1008 And `en` = "Add Course Prerequisite"');581 $this->execute('DELETE FROM `translations` WHERE `id` = 1009 And `en` = "There are no assessments."');582 $this->execute('DELETE FROM `translations` WHERE `id` = 1014 And `en` = "Kindergarten"');583 $this->execute('DELETE FROM `translations` WHERE `id` = 1015 And `en` = "Number of Shifts"');584 $this->execute('DELETE FROM `translations` WHERE `id` = 1017 And `en` = "Student Prefix"');585 $this->execute('DELETE FROM `translations` WHERE `id` = 1018 And `en` = "Teacher Prefix"');586 $this->execute('DELETE FROM `translations` WHERE `id` = 1019 And `en` = "Staff Prefix"');587 $this->execute('DELETE FROM `translations` WHERE `id` = 1021 And `en` = "Institution Telephone"');588 $this->execute('DELETE FROM `translations` WHERE `id` = 1022 And `en` = "Institution Fax"');589 $this->execute('DELETE FROM `translations` WHERE `id` = 1023 And `en` = "Institution Postal Code"');590 $this->execute('DELETE FROM `translations` WHERE `id` = 1027 And `en` = "Student Telephone"');591 $this->execute('DELETE FROM `translations` WHERE `id` = 1028 And `en` = "Student Postal Code"');592 $this->execute('DELETE FROM `translations` WHERE `id` = 1029 And `en` = "Teacher Telephone"');593 $this->execute('DELETE FROM `translations` WHERE `id` = 1030 And `en` = "Teacher Postal Code"');594 $this->execute('DELETE FROM `translations` WHERE `id` = 1031 And `en` = "Staff Telephone"');595 $this->execute('DELETE FROM `translations` WHERE `id` = 1032 And `en` = "Staff Postal Code"');596 $this->execute('DELETE FROM `translations` WHERE `id` = 1034 And `en` = "LDAP Server"');597 $this->execute('DELETE FROM `translations` WHERE `id` = 1036 And `en` = "Base DN"');598 $this->execute('DELETE FROM `translations` WHERE `id` = 1038 And `en` = "Where\'s My School Config"');599 $this->execute('DELETE FROM `translations` WHERE `id` = 1039 And `en` = "Where is my School URL"');600 $this->execute('DELETE FROM `translations` WHERE `id` = 1040 And `en` = "Starting Longitude"');601 $this->execute('DELETE FROM `translations` WHERE `id` = 1041 And `en` = "Starting Latitude"');602 $this->execute('DELETE FROM `translations` WHERE `id` = 1042 And `en` = "Starting Range"');603 $this->execute('DELETE FROM `translations` WHERE `id` = 1043 And `en` = "SMS Provider URL"');604 $this->execute('DELETE FROM `translations` WHERE `id` = 1044 And `en` = "SMS Number"');605 $this->execute('DELETE FROM `translations` WHERE `id` = 1045 And `en` = "SMS Content"');606 $this->execute('DELETE FROM `translations` WHERE `id` = 1046 And `en` = "SMS Retry Times"');607 $this->execute('DELETE FROM `translations` WHERE `id` = 1047 And `en` = "SMS Retry Delay"');608 $this->execute('DELETE FROM `translations` WHERE `id` = 1048 And `en` = "Credit Hour"');609 $this->execute('DELETE FROM `translations` WHERE `id` = 1050 And `en` = "Default Country"');610 $this->execute('DELETE FROM `translations` WHERE `id` = 1051 And `en` = "System Defined Roles"');611 $this->execute('DELETE FROM `translations` WHERE `id` = 1052 And `en` = "User Defined Roles"');612 $this->execute('DELETE FROM `translations` WHERE `id` = 1057 And `en` = "Report on all completed courses by staff, date, location and results"');613 $this->execute('DELETE FROM `translations` WHERE `id` = 1065 And `en` = "Report of trainers by name, course and date"');614 $this->execute('DELETE FROM `translations` WHERE `id` = 1082 And `en` = "Attendance Report"');615 $this->execute('DELETE FROM `translations` WHERE `id` = 1084 And `en` = "Assessment Report"');616 $this->execute('DELETE FROM `translations` WHERE `id` = 1099 And `en` = "Student Assessment Report"');617 $this->execute('DELETE FROM `translations` WHERE `id` = 1106 And `en` = "Standard"');618 $this->execute('DELETE FROM `translations` WHERE `id` = 1108 And `en` = "New Surveys"');619 $this->execute('DELETE FROM `translations` WHERE `id` = 1109 And `en` = "Completed Surveys"');620 $this->execute('DELETE FROM `translations` WHERE `id` = 1111 And `en` = "Sync"');621 $this->execute('DELETE FROM `translations` WHERE `id` = 1127 And `en` = "Family"');622 $this->execute('DELETE FROM `translations` WHERE `id` = 1134 And `en` = "REPORT"');623 $this->execute('DELETE FROM `translations` WHERE `id` = 1143 And `en` = "Staff Label"');624 $this->execute('DELETE FROM `translations` WHERE `id` = 1144 And `en` = "Check Box"');625 $this->execute('DELETE FROM `translations` WHERE `id` = 1146 And `en` = "Hours per Week"');626 $this->execute('DELETE FROM `translations` WHERE `id` = 1147 And `en` = "Commencement Date"');627 $this->execute('DELETE FROM `translations` WHERE `id` = 1148 And `en` = "Document No."');628 $this->execute('DELETE FROM `translations` WHERE `id` = 1149 And `en` = "Qualification Title"');629 $this->execute('DELETE FROM `translations` WHERE `id` = 1151 And `en` = "No position found"');630 $this->execute('DELETE FROM `translations` WHERE `id` = 1152 And `en` = "Total days absent"');631 $this->execute('DELETE FROM `translations` WHERE `id` = 1153 And `en` = "Total days attended"');632 $this->execute('DELETE FROM `translations` WHERE `id` = 1155 And `en` = "Last day "');633 $this->execute('DELETE FROM `translations` WHERE `id` = 1156 And `en` = "First day"');634 $this->execute('DELETE FROM `translations` WHERE `id` = 1157 And `en` = "Total Days"');635 $this->execute('DELETE FROM `translations` WHERE `id` = 1158 And `en` = "List of Behaviour"');636 $this->execute('DELETE FROM `translations` WHERE `id` = 1159 And `en` = "No record available"');637 $this->execute('DELETE FROM `translations` WHERE `id` = 1160 And `en` = "Net"');638 $this->execute('DELETE FROM `translations` WHERE `id` = 1163 And `en` = "Gross"');639 $this->execute('DELETE FROM `translations` WHERE `id` = 1167 And `en` = "Ended"');640 $this->execute('DELETE FROM `translations` WHERE `id` = 1168 And `en` = "Commenced"');641 $this->execute('DELETE FROM `translations` WHERE `id` = 1171 And `en` = "Training Achievements"');642 $this->execute('DELETE FROM `translations` WHERE `id` = 1172 And `en` = "Health - History"');643 $this->execute('DELETE FROM `translations` WHERE `id` = 1173 And `en` = "Health - Family"');644 $this->execute('DELETE FROM `translations` WHERE `id` = 1174 And `en` = "Health - Immunizations"');645 $this->execute('DELETE FROM `translations` WHERE `id` = 1175 And `en` = "Health - Medications"');646 $this->execute('DELETE FROM `translations` WHERE `id` = 1176 And `en` = "Health - Medication"');647 $this->execute('DELETE FROM `translations` WHERE `id` = 1177 And `en` = "Health - Allergies"');648 $this->execute('DELETE FROM `translations` WHERE `id` = 1178 And `en` = "Health - Tests"');649 $this->execute('DELETE FROM `translations` WHERE `id` = 1179 And `en` = "Health - Consultations"');650 $this->execute('DELETE FROM `translations` WHERE `id` = 1180 And `en` = "File size"');651 $this->execute('DELETE FROM `translations` WHERE `id` = 1181 And `en` = "Please enter a valid OpenEMIS ID"');652 $this->execute('DELETE FROM `translations` WHERE `id` = 1182 And `en` = "Dashboards"');653 $this->execute('DELETE FROM `translations` WHERE `id` = 1187 And `en` = "Geographical Level"');654 $this->execute('DELETE FROM `translations` WHERE `id` = 1196 And `en` = "Owned"');655 $this->execute('DELETE FROM `translations` WHERE `id` = 1197 And `en` = "Rented"');656 $this->execute('DELETE FROM `translations` WHERE `id` = 1198 And `en` = "Both"');657 $this->execute('DELETE FROM `translations` WHERE `id` = 1199 And `en` = "Permanent"');658 $this->execute('DELETE FROM `translations` WHERE `id` = 1201 And `en` = "Urban"');659 $this->execute('DELETE FROM `translations` WHERE `id` = 1202 And `en` = "Rural"');660 $this->execute('DELETE FROM `translations` WHERE `id` = 1203 And `en` = "Administrative"');661 $this->execute('DELETE FROM `translations` WHERE `id` = 1204 And `en` = "Technical"');662 $this->execute('DELETE FROM `translations` WHERE `id` = 1205 And `en` = "Download CSV"');663 $this->execute('DELETE FROM `translations` WHERE `id` = 1206 And `en` = "Weightings"');664 $this->execute('DELETE FROM `translations` WHERE `id` = 1208 And `en` = "Add Header"');665 $this->execute('DELETE FROM `translations` WHERE `id` = 1211 And `en` = "Edit Criteria"');666 $this->execute('DELETE FROM `translations` WHERE `id` = 1212 And `en` = "Criteria Details"');667 $this->execute('DELETE FROM `translations` WHERE `id` = 1213 And `en` = "Quality Assurance Reports"');668 $this->execute('DELETE FROM `translations` WHERE `id` = 1214 And `en` = "Quality Assurance"');669 $this->execute('DELETE FROM `translations` WHERE `id` = 1215 And `en` = "Report generated at the school, FD and national level for each aspect (category) and domain (technical or administrative) "');670 $this->execute('DELETE FROM `translations` WHERE `id` = 1216 And `en` = "QA Schools Report"');671 $this->execute('DELETE FROM `translations` WHERE `id` = 1217 And `en` = "Report generated by type, category, result (pass or fail) and a table with the average, minimum and maximum values and also compare results from one year to the next "');672 $this->execute('DELETE FROM `translations` WHERE `id` = 1218 And `en` = "QA Results Report"');673 $this->execute('DELETE FROM `translations` WHERE `id` = 1219 And `en` = "Report generation for those who hasn\'t completed the rubric"');674 $this->execute('DELETE FROM `translations` WHERE `id` = 1220 And `en` = "QA Rubric Not Completed Report"');675 $this->execute('DELETE FROM `translations` WHERE `id` = 1221 And `en` = "Maximum 150 words per comment"');676 $this->execute('DELETE FROM `translations` WHERE `id` = 1224 And `en` = "Target Grades"');677 $this->execute('DELETE FROM `translations` WHERE `id` = 1225 And `en` = "Security Role"');678 $this->execute('DELETE FROM `translations` WHERE `id` = 1226 And `en` = "Setup Criteria Column"');679 $this->execute('DELETE FROM `translations` WHERE `id` = 1227 And `en` = "Header"');680 $this->execute('DELETE FROM `translations` WHERE `id` = 1229 And `en` = "Descriptors"');681 $this->execute('DELETE FROM `translations` WHERE `id` = 1230 And `en` = "New row has been added at the bottom of the rubric table."');682 $this->execute('DELETE FROM `translations` WHERE `id` = 1231 And `en` = "Header / Sub-Header / Title"');683 $this->execute('DELETE FROM `translations` WHERE `id` = 1232 And `en` = "Section Header"');684 $this->execute('DELETE FROM `translations` WHERE `id` = 1233 And `en` = "Add Section Header"');685 $this->execute('DELETE FROM `translations` WHERE `id` = 1235 And `en` = "Add Grade"');686 $this->execute('DELETE FROM `translations` WHERE `id` = 1236 And `en` = "Add Visit"');687 $this->execute('DELETE FROM `translations` WHERE `id` = 1237 And `en` = "Visit"');688 $this->execute('DELETE FROM `translations` WHERE `id` = 1238 And `en` = "Edit Rubric Headers"');689 $this->execute('DELETE FROM `translations` WHERE `id` = 1239 And `en` = "Edit Headers"');690 $this->execute('DELETE FROM `translations` WHERE `id` = 1241 And `en` = "Create Rubric Table"');691 $this->execute('DELETE FROM `translations` WHERE `id` = 1242 And `en` = "Reorder Criteria"');692 $this->execute('DELETE FROM `translations` WHERE `id` = 1244 And `en` = "Edit Status"');693 $this->execute('DELETE FROM `translations` WHERE `id` = 1245 And `en` = "Add Status"');694 $this->execute('DELETE FROM `translations` WHERE `id` = 1246 And `en` = "Criteria Level Description"');695 $this->execute('DELETE FROM `translations` WHERE `id` = 1247 And `en` = "View Details"');696 $this->execute('DELETE FROM `translations` WHERE `id` = 1248 And `en` = "Weightage"');697 $this->execute('DELETE FROM `translations` WHERE `id` = 1249 And `en` = "Selected Grade(s)"');698 $this->execute('DELETE FROM `translations` WHERE `id` = 1250 And `en` = "Status Details"');699 $this->execute('DELETE FROM `translations` WHERE `id` = 1251 And `en` = "Rubric Name"');700 $this->execute('DELETE FROM `translations` WHERE `id` = 1253 And `en` = "Pass/Fail"');701 $this->execute('DELETE FROM `translations` WHERE `id` = 1255 And `en` = "QA Report"');702 $this->execute('DELETE FROM `translations` WHERE `id` = 1256 And `en` = "Visit Report"');703 $this->execute('DELETE FROM `translations` WHERE `id` = 1257 And `en` = "Reports - Quality"');704 $this->execute('DELETE FROM `translations` WHERE `id` = 1260 And `en` = "Fail"');705 $this->execute('DELETE FROM `translations` WHERE `id` = 1261 And `en` = "Quality Type"');706 $this->execute('DELETE FROM `translations` WHERE `id` = 1262 And `en` = "Visit Date"');707 $this->execute('DELETE FROM `translations` WHERE `id` = 1263 And `en` = "Evaluator Name"');708 $this->execute('DELETE FROM `translations` WHERE `id` = 1264 And `en` = "Total Classes"');709 $this->execute('DELETE FROM `translations` WHERE `id` = 1265 And `en` = "Maximum"');710 $this->execute('DELETE FROM `translations` WHERE `id` = 1266 And `en` = "Minimum"');711 $this->execute('DELETE FROM `translations` WHERE `id` = 1267 And `en` = "Average"');712 $this->execute('DELETE FROM `translations` WHERE `id` = 1268 And `en` = "Pass/ Fail"');713 $this->execute('DELETE FROM `translations` WHERE `id` = 1269 And `en` = "Total Questions"');714 $this->execute('DELETE FROM `translations` WHERE `id` = 1270 And `en` = "Total Answered"');715 $this->execute('DELETE FROM `translations` WHERE `id` = 1272 And `en` = "Goal Objective"');716 $this->execute('DELETE FROM `translations` WHERE `id` = 1273 And `en` = "Requirement"');717 $this->execute('DELETE FROM `translations` WHERE `id` = 1274 And `en` = "Trainer Type"');718 $this->execute('DELETE FROM `translations` WHERE `id` = 1276 And `en` = "Target Group"');719 $this->execute('DELETE FROM `translations` WHERE `id` = 1277 And `en` = "Total Target Group"');720 $this->execute('DELETE FROM `translations` WHERE `id` = 1278 And `en` = "Total Trained"');721 $this->execute('DELETE FROM `translations` WHERE `id` = 1279 And `en` = "Target Group Percentage"');722 $this->execute('DELETE FROM `translations` WHERE `id` = 1280 And `en` = "Last Updated By"');723 $this->execute('DELETE FROM `translations` WHERE `id` = 1281 And `en` = "Behaviour - Staff"');724 $this->execute('DELETE FROM `translations` WHERE `id` = 1282 And `en` = "Behaviour - Students"');725 $this->execute('DELETE FROM `translations` WHERE `id` = 1283 And `en` = "File size should not be larger than 2MB."');726 $this->execute('DELETE FROM `translations` WHERE `id` = 1284 And `en` = "Maximum 5 files are permitted on single upload. Each file size should not be larger than 2MB."');727 $this->execute('DELETE FROM `translations` WHERE `id` = 1286 And `en` = "User"');728 $this->execute('DELETE FROM `translations` WHERE `id` = 1287 And `en` = "Add Result Type"');729 $this->execute('DELETE FROM `translations` WHERE `id` = 1288 And `en` = "Goal / objective"');730 $this->execute('DELETE FROM `translations` WHERE `id` = 1289 And `en` = "Internal"');731 $this->execute('DELETE FROM `translations` WHERE `id` = 1290 And `en` = "External"');732 $this->execute('DELETE FROM `translations` WHERE `id` = 1292 And `en` = "Overall Result"');733 $this->execute('DELETE FROM `translations` WHERE `id` = 1294 And `en` = "Edit Results Details"');734 $this->execute('DELETE FROM `translations` WHERE `id` = 1296 And `en` = "Upload Results"');735 $this->execute('DELETE FROM `translations` WHERE `id` = 1297 And `en` = "Passed"');736 $this->execute('DELETE FROM `translations` WHERE `id` = 1298 And `en` = "Failed"');737 $this->execute('DELETE FROM `translations` WHERE `id` = 1299 And `en` = "Upload File"');738 $this->execute('DELETE FROM `translations` WHERE `id` = 1300 And `en` = "Upload"');739 $this->execute('DELETE FROM `translations` WHERE `id` = 1301 And `en` = "Invalid File Format"');740 $this->execute('DELETE FROM `translations` WHERE `id` = 1302 And `en` = "Columns/Data do not match."');741 $this->execute('DELETE FROM `translations` WHERE `id` = 1303 And `en` = "Error encountered, record(s) could not be updated"');742 $this->execute('DELETE FROM `translations` WHERE `id` = 1309 And `en` = "1=Pass/0=Fail)"');743 $this->execute('DELETE FROM `translations` WHERE `id` = 1310 And `en` = "Need Type"');744 $this->execute('DELETE FROM `translations` WHERE `id` = 1312 And `en` = "Achievement Type"');745 $this->execute('DELETE FROM `translations` WHERE `id` = 1313 And `en` = "Course Goal / Objectives"');746 $this->execute('DELETE FROM `translations` WHERE `id` = 1314 And `en` = "Add Training Needs"');747 $this->execute('DELETE FROM `translations` WHERE `id` = 1317 And `en` = "Add Achievements"');748 $this->execute('DELETE FROM `translations` WHERE `id` = 1318 And `en` = "Achievements Details"');749 $this->execute('DELETE FROM `translations` WHERE `id` = 1319 And `en` = "Edit Achievements"');750 $this->execute('DELETE FROM `translations` WHERE `id` = 1320 And `en` = "TrainingSessionTrainee"');751 $this->execute('DELETE FROM `translations` WHERE `id` = 1321 And `en` = "Approval"');752 $this->execute('DELETE FROM `translations` WHERE `id` = 1322 And `en` = "Reject"');753 $this->execute('DELETE FROM `translations` WHERE `id` = 1323 And `en` = "Experience"');754 $this->execute('DELETE FROM `translations` WHERE `id` = 1326 And `en` = "Months"');755 $this->execute('DELETE FROM `translations` WHERE `id` = 1327 And `en` = "Add Experience"');756 $this->execute('DELETE FROM `translations` WHERE `id` = 1328 And `en` = "Add Specialisation"');757 $this->execute('DELETE FROM `translations` WHERE `id` = 1329 And `en` = "Upload Trainee"');758 $this->execute('DELETE FROM `translations` WHERE `id` = 1332 And `en` = "Edit Sessions Details"');759 $this->execute('DELETE FROM `translations` WHERE `id` = 1333 And `en` = "Evaluation Tools"');760 $this->execute('DELETE FROM `translations` WHERE `id` = 1337 And `en` = "List of translations"');761 $this->execute('DELETE FROM `translations` WHERE `id` = 1338 And `en` = "Add Translation"');762 $this->execute('DELETE FROM `translations` WHERE `id` = 1339 And `en` = "Edit Translation"');763 $this->execute('DELETE FROM `translations` WHERE `id` = 1340 And `en` = "Translation Details"');764 $this->execute('DELETE FROM `translations` WHERE `id` = 1341 And `en` = "Please ensure the english translation is keyed in."');765 $this->execute('DELETE FROM `translations` WHERE `id` = 1342 And `en` = "Download Trainees"');766 $this->execute('DELETE FROM `translations` WHERE `id` = 1343 And `en` = "Download Trainee Results"');767 $this->execute('DELETE FROM `translations` WHERE `id` = 1344 And `en` = "Duplicate Session"');768 $this->execute('DELETE FROM `translations` WHERE `id` = 1353 And `en` = "Shared Reports"');769 $this->execute('DELETE FROM `translations` WHERE `id` = 1354 And `en` = "My Reports"');770 $this->execute('DELETE FROM `translations` WHERE `id` = 1364 And `en` = "Select Image"');771 $this->execute('DELETE FROM `translations` WHERE `id` = 1366 And `en` = "Change"');772 $this->execute('DELETE FROM `translations` WHERE `id` = 1367 And `en` = "There is no data to be displayed."');773 $this->execute('DELETE FROM `translations` WHERE `id` = 1371 And `en` = "s"');774 $this->execute('DELETE FROM `translations` WHERE `id` = 1374 And `en` = "Period"');775 $this->execute('DELETE FROM `translations` WHERE `id` = 1376 And `en` = "Shift Name"');776 $this->execute('DELETE FROM `translations` WHERE `id` = 1380 And `en` = "Edit Shift"');777 $this->execute('DELETE FROM `translations` WHERE `id` = 1381 And `en` = "Add Shift"');778 $this->execute('DELETE FROM `translations` WHERE `id` = 1382 And `en` = "Add Attachment"');779 $this->execute('DELETE FROM `translations` WHERE `id` = 1383 And `en` = "Please enter a File name"');780 $this->execute('DELETE FROM `translations` WHERE `id` = 1384 And `en` = "No file was uploaded"');781 $this->execute('DELETE FROM `translations` WHERE `id` = 1385 And `en` = "The files has been uploaded"');782 $this->execute('DELETE FROM `translations` WHERE `id` = 1386 And `en` = "Attachment Details"');783 $this->execute('DELETE FROM `translations` WHERE `id` = 1390 And `en` = "Position Details"');784 $this->execute('DELETE FROM `translations` WHERE `id` = 1391 And `en` = "Edit Position"');785 $this->execute('DELETE FROM `translations` WHERE `id` = 1392 And `en` = "All Years"');786 $this->execute('DELETE FROM `translations` WHERE `id` = 1394 And `en` = "Number:"');787 $this->execute('DELETE FROM `translations` WHERE `id` = 1400 And `en` = "Unit"');788 $this->execute('DELETE FROM `translations` WHERE `id` = 1402 And `en` = "Step 1"');789 $this->execute('DELETE FROM `translations` WHERE `id` = 1403 And `en` = "Step 2"');790 $this->execute('DELETE FROM `translations` WHERE `id` = 1404 And `en` = "Step 3"');791 $this->execute('DELETE FROM `translations` WHERE `id` = 1405 And `en` = "Step 4"');792 $this->execute('DELETE FROM `translations` WHERE `id` = 1406 And `en` = "Step 5"');793 $this->execute('DELETE FROM `translations` WHERE `id` = 1407 And `en` = "Step 6"');794 $this->execute('DELETE FROM `translations` WHERE `id` = 1408 And `en` = "Step 7"');795 $this->execute('DELETE FROM `translations` WHERE `id` = 1409 And `en` = "Step 8"');796 $this->execute('DELETE FROM `translations` WHERE `id` = 1411 And `en` = "Dimension"');797 $this->execute('DELETE FROM `translations` WHERE `id` = 1413 And `en` = "Review"');798 $this->execute('DELETE FROM `translations` WHERE `id` = 1416 And `en` = "Area ID"');799 $this->execute('DELETE FROM `translations` WHERE `id` = 1417 And `en` = "Table"');800 $this->execute('DELETE FROM `translations` WHERE `id` = 1418 And `en` = "Column"');801 $this->execute('DELETE FROM `translations` WHERE `id` = 1420 And `en` = "Bar"');802 $this->execute('DELETE FROM `translations` WHERE `id` = 1422 And `en` = "Line"');803 $this->execute('DELETE FROM `translations` WHERE `id` = 1425 And `en` = "Visualization"');804 $this->execute('DELETE FROM `translations` WHERE `id` = 1427 And `en` = "List of Classes"');805 $this->execute('DELETE FROM `translations` WHERE `id` = 1429 And `en` = "Verify"');806 $this->execute('DELETE FROM `translations` WHERE `id` = 1430 And `en` = "Data Entry"');807 $this->execute('DELETE FROM `translations` WHERE `id` = 1431 And `en` = "Estimate"');808 $this->execute('DELETE FROM `translations` WHERE `id` = 1432 And `en` = "Full Time Equivalent Teachers"');809 $this->execute('DELETE FROM `translations` WHERE `id` = 1435 And `en` = "Multi Grade Classes"');810 $this->execute('DELETE FROM `translations` WHERE `id` = 1437 And `en` = "There are no subjects configured in the system."');811 $this->execute('DELETE FROM `translations` WHERE `id` = 1443 And `en` = "Add existing Student"');812 $this->execute('DELETE FROM `translations` WHERE `id` = 1444 And `en` = "Add existing Staff"');813 $this->execute('DELETE FROM `translations` WHERE `id` = 1452 And `en` = "مرفع"');814 $this->execute('DELETE FROM `translations` WHERE `id` = 1453 And `en` = "متكرر"');815 $this->execute('DELETE FROM `translations` WHERE `id` = 1485 And `en` = "Area (Education"');816 $this->execute('DELETE FROM `translations` WHERE `id` = 1490 And `en` = "Requester"');817 $this->execute('DELETE FROM `translations` WHERE `id` = 1492 And `en` = "Due Date"');818 $this->execute('DELETE FROM `translations` WHERE `id` = 1495 And `en` = "Student Transfer"');819 $this->execute('DELETE FROM `translations` WHERE `id` = 1496 And `en` = "Transfer of student"');820 $this->execute('DELETE FROM `translations` WHERE `id` = 1499 And `en` = "National Number"');821 $this->execute('DELETE FROM `translations` WHERE `id` = 1500 And `en` = "Expelled"');822 $this->execute('DELETE FROM `translations` WHERE `id` = 1503 And `en` = "Dropout"');823 $this->execute('DELETE FROM `translations` WHERE `id` = 1513 And `en` = "Current Academic Period"');824 $this->execute('DELETE FROM `translations` WHERE `id` = 1515 And `en` = "Openemis No"');825 $this->execute('DELETE FROM `translations` WHERE `id` = 1522 And `en` = "Mark"');826 $this->execute('DELETE FROM `translations` WHERE `id` = 1524 And `en` = "Area (Education)"');827 $this->execute('DELETE FROM `translations` WHERE `id` = 1526 And `en` = "Full-Time"');828 $this->execute('DELETE FROM `translations` WHERE `id` = 1527 And `en` = "Part-Time"');829 $this->execute('DELETE FROM `translations` WHERE `id` = 1529 And `en` = "No configured options"');830 $this->execute('DELETE FROM `translations` WHERE `id` = 1530 And `en` = "Select Role"');831 $this->execute('DELETE FROM `translations` WHERE `id` = 1534 And `en` = "Infrastructure Type"');832 $this->execute('DELETE FROM `translations` WHERE `id` = 1540 And `en` = "Country -"');833 $this->execute('DELETE FROM `translations` WHERE `id` = 1543 And `en` = "Number Of Students By Grade"');834 $this->execute('DELETE FROM `translations` WHERE `id` = 1555 And `en` = "There is no programme set for this institution"');835 $this->execute('DELETE FROM `translations` WHERE `id` = 1563 And `en` = "Special Need Comment"');836 $this->execute('DELETE FROM `translations` WHERE `id` = 1567 And `en` = "Absent - Excused"');837 $this->execute('DELETE FROM `translations` WHERE `id` = 1568 And `en` = "Absent - Unexcused"');838 $this->execute('DELETE FROM `translations` WHERE `id` = 1569 And `en` = "Present"');839 $this->execute('DELETE FROM `translations` WHERE `id` = 1570 And `en` = "No Classes"');840 $this->execute('DELETE FROM `translations` WHERE `id` = 1576 And `en` = "FTE"');841 $this->execute('DELETE FROM `translations` WHERE `id` = 1577 And `en` = "Excused"');842 $this->execute('DELETE FROM `translations` WHERE `id` = 1578 And `en` = "Unexcused"');843 $this->execute('DELETE FROM `translations` WHERE `id` = 1593 And `en` = "Leave Status"');844 $this->execute('DELETE FROM `translations` WHERE `id` = 1595 And `en` = "Leaves"');845 $this->execute('DELETE FROM `translations` WHERE `id` = 1596 And `en` = "Qualification Institution"');846 $this->execute('DELETE FROM `translations` WHERE `id` = 1598 And `en` = "Qualification Level"');847 $this->execute('DELETE FROM `translations` WHERE `id` = 1601 And `en` = "Institution Country"');848 $this->execute('DELETE FROM `translations` WHERE `id` = 1602 And `en` = "Qualification Specialisation"');849 $this->execute('DELETE FROM `translations` WHERE `id` = 1614 And `en` = "- Country"');850 $this->execute('DELETE FROM `translations` WHERE `id` = 1617 And `en` = "Submit"');851 $this->execute('DELETE FROM `translations` WHERE `id` = 1618 And `en` = "Save As Draft"');852 $this->execute('DELETE FROM `translations` WHERE `id` = 1625 And `en` = "No Students Found"');853 $this->execute('DELETE FROM `translations` WHERE `id` = 1631 And `en` = "School Principal"');854 $this->execute('DELETE FROM `translations` WHERE `id` = 1632 And `en` = "المنطقة الإدارية - Country"');855 $this->execute('DELETE FROM `translations` WHERE `id` = 1635 And `en` = "Default Shift"');856 $this->execute('DELETE FROM `translations` WHERE `id` = 1636 And `en` = "Default Shift 2014/2015"');857 $this->execute('DELETE FROM `translations` WHERE `id` = 1638 And `en` = "Select Student"');858 $this->execute('DELETE FROM `translations` WHERE `id` = 1641 And `en` = "Student Attendance"');859 $this->execute('DELETE FROM `translations` WHERE `id` = 1646 And `en` = "Openemisno"');860 $this->execute('DELETE FROM `translations` WHERE `id` = 1648 And `en` = "Security User"');861 $this->execute('DELETE FROM `translations` WHERE `id` = 1649 And `en` = "Amount (JD)"');862 $this->execute('DELETE FROM `translations` WHERE `id` = 1663 And `en` = "Student Absence Reason"');863 $this->execute('DELETE FROM `translations` WHERE `id` = 1665 And `en` = "Copyright © 2015 OpenEMIS. All rights reserved."');864 $this->execute('DELETE FROM `translations` WHERE `id` = 1675 And `en` = "Row Number"');865 $this->execute('DELETE FROM `translations` WHERE `id` = 1676 And `en` = "The record is not added due to errors encountered"');866 $this->execute('DELETE FROM `translations` WHERE `id` = 1678 And `en` = "This School"');867 $this->execute('DELETE FROM `translations` WHERE `id` = 1679 And `en` = "Other School"');868 $this->execute('DELETE FROM `translations` WHERE `id` = 1703 And `en` = "Area (Administrative) - Country"');869 $this->execute('DELETE FROM `translations` WHERE `id` = 1704 And `en` = "Area (Administrative)"');870 $this->execute('DELETE FROM `translations` WHERE `id` = 1705 And `en` = "land"');871 $this->execute('DELETE FROM `translations` WHERE `id` = 1707 And `en` = "Building Inst Year"');872 $this->execute('DELETE FROM `translations` WHERE `id` = 1708 And `en` = "Building Future Expansion"');873 $this->execute('DELETE FROM `translations` WHERE `id` = 1710 And `en` = "Yearly Rent Cost"');874 $this->execute('DELETE FROM `translations` WHERE `id` = 1711 And `en` = "Building WCstatus"');875 $this->execute('DELETE FROM `translations` WHERE `id` = 1713 And `en` = "Land Area"');876 $this->execute('DELETE FROM `translations` WHERE `id` = 1714 And `en` = "Building Land Number"');877 $this->execute('DELETE FROM `translations` WHERE `id` = 1715 And `en` = "Building Water Availability"');878 $this->execute('DELETE FROM `translations` WHERE `id` = 1716 And `en` = "Building Deflation Type"');879 $this->execute('DELETE FROM `translations` WHERE `id` = 1717 And `en` = "Building Model"');880 $this->execute('DELETE FROM `translations` WHERE `id` = 1718 And `en` = "Building Electricity Availability"');881 $this->execute('DELETE FROM `translations` WHERE `id` = 1719 And `en` = "Building seq"');882 $this->execute('DELETE FROM `translations` WHERE `id` = 1720 And `en` = "Building Bed Number"');883 $this->execute('DELETE FROM `translations` WHERE `id` = 1725 And `en` = "Staff Account"');884 $this->execute('DELETE FROM `translations` WHERE `id` = 1726 And `en` = "Staff User"');885 $this->execute('DELETE FROM `translations` WHERE `id` = 1727 And `en` = "Are you sure you want to delete this record"');886 $this->execute('DELETE FROM `translations` WHERE `id` = 1728 And `en` = "Delete is not allowed as students still exists in class"');887 $this->execute('DELETE FROM `translations` WHERE `id` = 1729 And `en` = "InstitutionSections"');888 $this->execute('DELETE FROM `translations` WHERE `id` = 1730 And `en` = "Please review the information before proceeding with the operation"');889 $this->execute('DELETE FROM `translations` WHERE `id` = 1735 And `en` = "OpenEmis ID"');890 $this->execute('DELETE FROM `translations` WHERE `id` = 1738 And `en` = "Current Education Grade"');891 $this->execute('DELETE FROM `translations` WHERE `id` = 1740 And `en` = "Students have been transferred"');892 $this->execute('DELETE FROM `translations` WHERE `id` = 1741 And `en` = "Are you sure you want to delete this record."');893 $this->execute('DELETE FROM `translations` WHERE `id` = 1746 And `en` = "Student User"');894 $this->execute('DELETE FROM `translations` WHERE `id` = 1748 And `en` = "Student Surveys"');895 $this->execute('DELETE FROM `translations` WHERE `id` = 1749 And `en` = "student surveys"');896 $this->execute('DELETE FROM `translations` WHERE `id` = 1750 And `en` = "students surveys"');897 $this->execute('DELETE FROM `translations` WHERE `id` = 1752 And `en` = "Area (Administrative)"');898 $this->execute('DELETE FROM `translations` WHERE `id` = 1753 And `en` = "No Other Student Available"');899 $this->execute('DELETE FROM `translations` WHERE `id` = 1756 And `en` = "Sunday"');900 $this->execute('DELETE FROM `translations` WHERE `id` = 1757 And `en` = "Monday"');901 $this->execute('DELETE FROM `translations` WHERE `id` = 1758 And `en` = "Tuesday"');902 $this->execute('DELETE FROM `translations` WHERE `id` = 1759 And `en` = "Wednesday"');903 $this->execute('DELETE FROM `translations` WHERE `id` = 1760 And `en` = "Thursday"');904 $this->execute('DELETE FROM `translations` WHERE `id` = 1761 And `en` = "Friday"');905 $this->execute('DELETE FROM `translations` WHERE `id` = 1762 And `en` = "Saturday"');906 $this->execute('DELETE FROM `translations` WHERE `id` = 1764 And `en` = "No Available Subjects"');907 $this->execute('DELETE FROM `translations` WHERE `id` = 1765 And `en` = "Next grade in the Education Structure is not available in this Institution."');908 $this->execute('DELETE FROM `translations` WHERE `id` = 1771 And `en` = "Our Shifts"');909 $this->execute('DELETE FROM `translations` WHERE `id` = 1772 And `en` = "External Shifts"');910 $this->execute('DELETE FROM `translations` WHERE `id` = 1775 And `en` = "Add All Students"');911 $this->execute('DELETE FROM `translations` WHERE `id` = 1779 And `en` = "Transfer Approvals"');912 $this->execute('DELETE FROM `translations` WHERE `id` = 1780 And `en` = "Approve"');913 $this->execute('DELETE FROM `translations` WHERE `id` = 1781 And `en` = "Application Status"');914 $this->execute('DELETE FROM `translations` WHERE `id` = 1783 And `en` = "Student Dropout Reason"');915 $this->execute('DELETE FROM `translations` WHERE `id` = 1787 And `en` = "Not In School>"');916 $this->execute('DELETE FROM `translations` WHERE `id` = 1788 And `en` = "Absence is already added for this date and time."');917 $this->execute('DELETE FROM `translations` WHERE `id` = 1789 And `en` = "Academic Period needs to be set as current"');918 $this->execute('DELETE FROM `translations` WHERE `id` = 1790 And `en` = "Add Assessment Item"');919 $this->execute('DELETE FROM `translations` WHERE `id` = 1794 And `en` = "Add Teacher"');920 $this->execute('DELETE FROM `translations` WHERE `id` = 1795 And `en` = "Add to Section"');921 $this->execute('DELETE FROM `translations` WHERE `id` = 1796 And `en` = "An unexpected error has been encounted. Please contact the administrator for assistance."');922 $this->execute('DELETE FROM `translations` WHERE `id` = 1798 And `en` = "Assessment record has been saved to draft successfully."');923 $this->execute('DELETE FROM `translations` WHERE `id` = 1799 And `en` = "Assessment record has been submitted successfully."');924 $this->execute('DELETE FROM `translations` WHERE `id` = 1800 And `en` = "Both passwords do not match"');925 $this->execute('DELETE FROM `translations` WHERE `id` = 1802 And `en` = "Class name and Home Room Teacher should not be empty"');926 $this->execute('DELETE FROM `translations` WHERE `id` = 1803 And `en` = "Class name should not be empty"');927 $this->execute('DELETE FROM `translations` WHERE `id` = 1806 And `en` = "Date Closed should not be earlier than Date Opened"');928 $this->execute('DELETE FROM `translations` WHERE `id` = 1807 And `en` = "Date of Birth cannot be future date"');929 $this->execute('DELETE FROM `translations` WHERE `id` = 1809 And `en` = "Date To should not be earlier than Date From"');930 $this->execute('DELETE FROM `translations` WHERE `id` = 1813 And `en` = "Dropout request has been approved successfully."');931 $this->execute('DELETE FROM `translations` WHERE `id` = 1814 And `en` = "Dropout request has been rejected successfully."');932 $this->execute('DELETE FROM `translations` WHERE `id` = 1815 And `en` = "Dropout request hsa been submitted successfully."');933 $this->execute('DELETE FROM `translations` WHERE `id` = 1816 And `en` = "Duplicate Code Identified"');934 $this->execute('DELETE FROM `translations` WHERE `id` = 1817 And `en` = "Duplicate OpenEMIS ID Identified"');935 $this->execute('DELETE FROM `translations` WHERE `id` = 1818 And `en` = "Duplicate Unique Key on the same sheet"');936 $this->execute('DELETE FROM `translations` WHERE `id` = 1820 And `en` = "End Date should not be earlier than Start Date"');937 $this->execute('DELETE FROM `translations` WHERE `id` = 1821 And `en` = "Error Message"');938 $this->execute('DELETE FROM `translations` WHERE `id` = 1822 And `en` = "Event"');939 $this->execute('DELETE FROM `translations` WHERE `id` = 1823 And `en` = "Execution Time"');940 $this->execute('DELETE FROM `translations` WHERE `id` = 1824 And `en` = "Expiry Date Is Required"');941 $this->execute('DELETE FROM `translations` WHERE `id` = 1825 And `en` = "External Trainer"');942 $this->execute('DELETE FROM `translations` WHERE `id` = 1826 And `en` = "failed to import completely."');943 $this->execute('DELETE FROM `translations` WHERE `id` = 1827 And `en` = "failed to import."');944 $this->execute('DELETE FROM `translations` WHERE `id` = 1828 And `en` = "Failed to revert student records."');945 $this->execute('DELETE FROM `translations` WHERE `id` = 1829 And `en` = "Failed to save grades"');946 $this->execute('DELETE FROM `translations` WHERE `id` = 1830 And `en` = "Failed Validation"');947 $this->execute('DELETE FROM `translations` WHERE `id` = 1831 And `en` = "File format not supported"');948 $this->execute('DELETE FROM `translations` WHERE `id` = 1832 And `en` = "File is required"');949 $this->execute('DELETE FROM `translations` WHERE `id` = 1833 And `en` = "File records exceeds maximum rows allowed"');950 $this->execute('DELETE FROM `translations` WHERE `id` = 1834 And `en` = "File records exceeds maximum size allowed"');951 $this->execute('DELETE FROM `translations` WHERE `id` = 1835 And `en` = "First Day Of Absence"');952 $this->execute('DELETE FROM `translations` WHERE `id` = 1837 And `en` = "Grading"');953 $this->execute('DELETE FROM `translations` WHERE `id` = 1838 And `en` = "Home Room Teacher should not be empty"');954 $this->execute('DELETE FROM `translations` WHERE `id` = 1839 And `en` = "Incorrect password."');955 $this->execute('DELETE FROM `translations` WHERE `id` = 1840 And `en` = "Internal Trainer"');956 $this->execute('DELETE FROM `translations` WHERE `id` = 1841 And `en` = "Invalid Code"');957 $this->execute('DELETE FROM `translations` WHERE `id` = 1842 And `en` = "is successfully imported."');958 $this->execute('DELETE FROM `translations` WHERE `id` = 1843 And `en` = "Issue Date cannot be later than Expiry Date"');959 $this->execute('DELETE FROM `translations` WHERE `id` = 1845 And `en` = "Last Day Of Absence"');960 $this->execute('DELETE FROM `translations` WHERE `id` = 1846 And `en` = "Level Name"');961 $this->execute('DELETE FROM `translations` WHERE `id` = 1847 And `en` = "New staff is not added to the institutition as there are no available FTE for the selected position."');962 $this->execute('DELETE FROM `translations` WHERE `id` = 1848 And `en` = "New staff is not added to the institutition, due to an error"');963 $this->execute('DELETE FROM `translations` WHERE `id` = 1850 And `en` = "No available FTE."');964 $this->execute('DELETE FROM `translations` WHERE `id` = 1851 And `en` = "No Available Grades"');965 $this->execute('DELETE FROM `translations` WHERE `id` = 1852 And `en` = "No Available Grades in this Institution"');966 $this->execute('DELETE FROM `translations` WHERE `id` = 1853 And `en` = "No Available Institutions"');967 $this->execute('DELETE FROM `translations` WHERE `id` = 1854 And `en` = "No Available Levels"');968 $this->execute('DELETE FROM `translations` WHERE `id` = 1855 And `en` = "No Available Periods"');969 $this->execute('DELETE FROM `translations` WHERE `id` = 1857 And `en` = "No Available Staff"');970 $this->execute('DELETE FROM `translations` WHERE `id` = 1859 And `en` = "No Available Surveys"');971 $this->execute('DELETE FROM `translations` WHERE `id` = 1860 And `en` = "No Available Trainees"');972 $this->execute('DELETE FROM `translations` WHERE `id` = 1861 And `en` = "No Education Grade was selected."');973 $this->execute('DELETE FROM `translations` WHERE `id` = 1862 And `en` = "No Grades"');974 $this->execute('DELETE FROM `translations` WHERE `id` = 1863 And `en` = "No Grades Assigned"');975 $this->execute('DELETE FROM `translations` WHERE `id` = 1864 And `en` = "No identifiable survey found"');976 $this->execute('DELETE FROM `translations` WHERE `id` = 1865 And `en` = "No other alternative options available to convert records."');977 $this->execute('DELETE FROM `translations` WHERE `id` = 1866 And `en` = "No Record"');978 $this->execute('DELETE FROM `translations` WHERE `id` = 1867 And `en` = "No Record has been selected / saved."');979 $this->execute('DELETE FROM `translations` WHERE `id` = 1868 And `en` = "No record were found in the file imported"');980 $this->execute('DELETE FROM `translations` WHERE `id` = 1870 And `en` = "No Students"');981 $this->execute('DELETE FROM `translations` WHERE `id` = 1873 And `en` = "Not able to add absence record as this student is no longer enrolled in the institution."');982 $this->execute('DELETE FROM `translations` WHERE `id` = 1874 And `en` = "Not available to revert."');983 $this->execute('DELETE FROM `translations` WHERE `id` = 1875 And `en` = "Not supported in this form."');984 $this->execute('DELETE FROM `translations` WHERE `id` = 1876 And `en` = "Only alphabets and numbers are allowed"');985 $this->execute('DELETE FROM `translations` WHERE `id` = 1877 And `en` = "Password should not contain spaces"');986 $this->execute('DELETE FROM `translations` WHERE `id` = 1879 And `en` = "Please confirm your new password"');987 $this->execute('DELETE FROM `translations` WHERE `id` = 1880 And `en` = "Please enter a Contact Type"');988 $this->execute('DELETE FROM `translations` WHERE `id` = 1881 And `en` = "Please enter a number between 0 and 5"');989 $this->execute('DELETE FROM `translations` WHERE `id` = 1882 And `en` = "Please enter a unique identity number."');990 $this->execute('DELETE FROM `translations` WHERE `id` = 1883 And `en` = "Please enter a unique OpenEMIS ID"');991 $this->execute('DELETE FROM `translations` WHERE `id` = 1884 And `en` = "Please enter a valid amount."');992 $this->execute('DELETE FROM `translations` WHERE `id` = 1885 And `en` = "Please enter a valid Award."');993 $this->execute('DELETE FROM `translations` WHERE `id` = 1886 And `en` = "Please enter a valid Comment"');994 $this->execute('DELETE FROM `translations` WHERE `id` = 1887 And `en` = "Please enter a valid Date"');995 $this->execute('DELETE FROM `translations` WHERE `id` = 1888 And `en` = "Please enter a valid Graduate Year"');996 $this->execute('DELETE FROM `translations` WHERE `id` = 1889 And `en` = "Please enter a valid Gross Salary"');997 $this->execute('DELETE FROM `translations` WHERE `id` = 1890 And `en` = "Please enter a valid Hours."');998 $this->execute('DELETE FROM `translations` WHERE `id` = 1891 And `en` = "Please enter a valid Institution"');999 $this->execute('DELETE FROM `translations` WHERE `id` = 1892 And `en` = "Please enter a valid Issuer."');1000 $this->execute('DELETE FROM `translations` WHERE `id` = 1893 And `en` = "Please enter a valid Latitude"');1001 $this->execute('DELETE FROM `translations` WHERE `id` = 1894 And `en` = "Please enter a valid License Number."');1002 $this->execute('DELETE FROM `translations` WHERE `id` = 1895 And `en` = "Please enter a valid Longitude"');1003 $this->execute('DELETE FROM `translations` WHERE `id` = 1896 And `en` = "Please enter a valid Major/Specialisation"');1004 $this->execute('DELETE FROM `translations` WHERE `id` = 1897 And `en` = "Please enter a valid Membership."');1005 $this->execute('DELETE FROM `translations` WHERE `id` = 1898 And `en` = "Please enter a valid Middle Name"');1006 $this->execute('DELETE FROM `translations` WHERE `id` = 1899 And `en` = "Please enter a valid Net Salary"');1007 $this->execute('DELETE FROM `translations` WHERE `id` = 1900 And `en` = "Please enter a valid Numeric value"');1008 $this->execute('DELETE FROM `translations` WHERE `id` = 1901 And `en` = "Please enter a valid Preferred Name"');1009 $this->execute('DELETE FROM `translations` WHERE `id` = 1902 And `en` = "Please enter a valid Qualification Level"');1010 $this->execute('DELETE FROM `translations` WHERE `id` = 1903 And `en` = "Please enter a valid Qualification Title"');1011 $this->execute('DELETE FROM `translations` WHERE `id` = 1904 And `en` = "Please enter a valid Third Name"');1012 $this->execute('DELETE FROM `translations` WHERE `id` = 1905 And `en` = "Please enter a valid Title"');1013 $this->execute('DELETE FROM `translations` WHERE `id` = 1906 And `en` = "Please enter a valid value"');1014 $this->execute('DELETE FROM `translations` WHERE `id` = 1907 And `en` = "Please enter a valid Value"');1015 $this->execute('DELETE FROM `translations` WHERE `id` = 1908 And `en` = "Please enter an Account name"');1016 $this->execute('DELETE FROM `translations` WHERE `id` = 1909 And `en` = "Please enter an Account number"');1017 $this->execute('DELETE FROM `translations` WHERE `id` = 1910 And `en` = "Please enter an alphanumeric username"');1018 $this->execute('DELETE FROM `translations` WHERE `id` = 1911 And `en` = "Please enter your new password"');1019 $this->execute('DELETE FROM `translations` WHERE `id` = 1912 And `en` = "Please review the information before proceeding with the operation."');1020 $this->execute('DELETE FROM `translations` WHERE `id` = 1913 And `en` = "Please select a Bank"');1021 $this->execute('DELETE FROM `translations` WHERE `id` = 1914 And `en` = "Please select a Bank Branch"');1022 $this->execute('DELETE FROM `translations` WHERE `id` = 1915 And `en` = "Please select a Language"');1023 $this->execute('DELETE FROM `translations` WHERE `id` = 1916 And `en` = "Please select a preferred contact type"');1024 $this->execute('DELETE FROM `translations` WHERE `id` = 1917 And `en` = "Please select a Salary Date"');1025 $this->execute('DELETE FROM `translations` WHERE `id` = 1918 And `en` = "Please select a valid License Type."');1026 $this->execute('DELETE FROM `translations` WHERE `id` = 1919 And `en` = "Please select a valid Special Need Type."');1027 $this->execute('DELETE FROM `translations` WHERE `id` = 1920 And `en` = "Please select an institution location."');1028 $this->execute('DELETE FROM `translations` WHERE `id` = 1921 And `en` = "Please upload image format files. Eg. jpg, png, gif."');1029 $this->execute('DELETE FROM `translations` WHERE `id` = 1922 And `en` = "Remote authentication failed, please try local login."');1030 $this->execute('DELETE FROM `translations` WHERE `id` = 1923 And `en` = "Rows Failed:"');1031 $this->execute('DELETE FROM `translations` WHERE `id` = 1924 And `en` = "Rows Imported:"');1032 $this->execute('DELETE FROM `translations` WHERE `id` = 1925 And `en` = "Rows Updated:"');1033 $this->execute('DELETE FROM `translations` WHERE `id` = 1926 And `en` = "Rubric record has been saved to draft successfully."');1034 $this->execute('DELETE FROM `translations` WHERE `id` = 1927 And `en` = "Rubric record has been submitted successfully."');1035 $this->execute('DELETE FROM `translations` WHERE `id` = 1930 And `en` = "Select Staff"');1036 $this->execute('DELETE FROM `translations` WHERE `id` = 1931 And `en` = "Select Teacher"');1037 $this->execute('DELETE FROM `translations` WHERE `id` = 1932 And `en` = "Staff has already been added."');1038 $this->execute('DELETE FROM `translations` WHERE `id` = 1933 And `en` = "Start Date cannot be later than End Date"');1039 $this->execute('DELETE FROM `translations` WHERE `id` = 1934 And `en` = "Start Date should not be earlier than Institution Date Opened"');1040 $this->execute('DELETE FROM `translations` WHERE `id` = 1935 And `en` = "Student admission has been approved successfully."');1041 $this->execute('DELETE FROM `translations` WHERE `id` = 1936 And `en` = "Student admission has been rejected successfully."');1042 $this->execute('DELETE FROM `translations` WHERE `id` = 1937 And `en` = "Student exists in the school"');1043 $this->execute('DELETE FROM `translations` WHERE `id` = 1938 And `en` = "Student has already been added to admission list"');1044 $this->execute('DELETE FROM `translations` WHERE `id` = 1939 And `en` = "Student has already been added."');1045 $this->execute('DELETE FROM `translations` WHERE `id` = 1940 And `en` = "Student has already been enrolled in another Institution."');1046 $this->execute('DELETE FROM `translations` WHERE `id` = 1941 And `en` = "Student has already dropped out from the school."');1047 $this->execute('DELETE FROM `translations` WHERE `id` = 1942 And `en` = "Student is already exists in the new school"');1048 $this->execute('DELETE FROM `translations` WHERE `id` = 1943 And `en` = "Student records have been reverted successfully."');1049 $this->execute('DELETE FROM `translations` WHERE `id` = 1945 And `en` = "Students have been transferred."');1050 $this->execute('DELETE FROM `translations` WHERE `id` = 1947 And `en` = "Survey code is missing from the file. Please make sure that survey code exists on sheet"');1051 $this->execute('DELETE FROM `translations` WHERE `id` = 1948 And `en` = "Survey record has been saved to draft successfully."');1052 $this->execute('DELETE FROM `translations` WHERE `id` = 1949 And `en` = "Survey record has been submitted successfully."');1053 $this->execute('DELETE FROM `translations` WHERE `id` = 1950 And `en` = "Survey Template"');1054 $this->execute('DELETE FROM `translations` WHERE `id` = 1953 And `en` = "The chosen academic period is not editable"');1055 $this->execute('DELETE FROM `translations` WHERE `id` = 1954 And `en` = "The file"');1056 $this->execute('DELETE FROM `translations` WHERE `id` = 1955 And `en` = "The language has been successfully compiled."');1057 $this->execute('DELETE FROM `translations` WHERE `id` = 1956 And `en` = "The language has not been compiled due to errors encountered."');1058 $this->execute('DELETE FROM `translations` WHERE `id` = 1957 And `en` = "The position number that you have entered already existed, please try again."');1059 $this->execute('DELETE FROM `translations` WHERE `id` = 1958 And `en` = "The record cannot be deleted as there are still records associated with it."');1060 $this->execute('DELETE FROM `translations` WHERE `id` = 1959 And `en` = "The record does not exist."');1061 $this->execute('DELETE FROM `translations` WHERE `id` = 1960 And `en` = "The record exists in the system."');1062 $this->execute('DELETE FROM `translations` WHERE `id` = 1962 And `en` = "The record has been deleted successfully."');1063 $this->execute('DELETE FROM `translations` WHERE `id` = 1963 And `en` = "The record has been duplicated successfully."');1064 $this->execute('DELETE FROM `translations` WHERE `id` = 1964 And `en` = "The record has been rejected successfully."');1065 $this->execute('DELETE FROM `translations` WHERE `id` = 1967 And `en` = "The record is not deleted due to errors encountered."');1066 $this->execute('DELETE FROM `translations` WHERE `id` = 1968 And `en` = "The record is not duplicated due to errors encountered."');1067 $this->execute('DELETE FROM `translations` WHERE `id` = 1969 And `en` = "The record is not rejected due to errors encountered."');1068 $this->execute('DELETE FROM `translations` WHERE `id` = 1970 And `en` = "The record is not saved due to errors encountered."');1069 $this->execute('DELETE FROM `translations` WHERE `id` = 1972 And `en` = "The staff has already exist within the start date and end date specified."');1070 $this->execute('DELETE FROM `translations` WHERE `id` = 1973 And `en` = "There are no available Classes"');1071 $this->execute('DELETE FROM `translations` WHERE `id` = 1974 And `en` = "There are no available Education Grade."');1072 $this->execute('DELETE FROM `translations` WHERE `id` = 1975 And `en` = "There are no available Education Level."');1073 $this->execute('DELETE FROM `translations` WHERE `id` = 1976 And `en` = "There are no available Education Programme."');1074 $this->execute('DELETE FROM `translations` WHERE `id` = 1977 And `en` = "There are no available Education Subjects."');1075 $this->execute('DELETE FROM `translations` WHERE `id` = 1978 And `en` = "There are no available FTE for this position."');1076 $this->execute('DELETE FROM `translations` WHERE `id` = 1980 And `en` = "There are no available Students for revert Student Status."');1077 $this->execute('DELETE FROM `translations` WHERE `id` = 1981 And `en` = "There are no available Students for Transfer."');1078 $this->execute('DELETE FROM `translations` WHERE `id` = 1982 And `en` = "There are no position available."');1079 $this->execute('DELETE FROM `translations` WHERE `id` = 1983 And `en` = "There are no students selected."');1080 $this->execute('DELETE FROM `translations` WHERE `id` = 1984 And `en` = "There are no subjects in the assigned grade"');1081 $this->execute('DELETE FROM `translations` WHERE `id` = 1985 And `en` = "There is a pending dropout application for this student at the moment, please reject the dropout application before making another request."');1082 $this->execute('DELETE FROM `translations` WHERE `id` = 1986 And `en` = "There is a pending transfer application for this student at the moment, please remove the"');1083 $this->execute('DELETE FROM `translations` WHERE `id` = 1987 And `en` = "There is no active institution"');1084 $this->execute('DELETE FROM `translations` WHERE `id` = 1988 And `en` = "There is no class under the selected academic period"');1085 $this->execute('DELETE FROM `translations` WHERE `id` = 1989 And `en` = "There is no grade selected"');1086 $this->execute('DELETE FROM `translations` WHERE `id` = 1990 And `en` = "There is no rubric section selected"');1087 $this->execute('DELETE FROM `translations` WHERE `id` = 1991 And `en` = "There is no subject selected"');1088 $this->execute('DELETE FROM `translations` WHERE `id` = 1992 And `en` = "This code already exists in the system"');1089 $this->execute('DELETE FROM `translations` WHERE `id` = 1993 And `en` = "This Education Programme already exists in the system"');1090 $this->execute('DELETE FROM `translations` WHERE `id` = 1995 And `en` = "This identity has already existed in the system."');1091 $this->execute('DELETE FROM `translations` WHERE `id` = 1996 And `en` = "This record is not editable"');1092 $this->execute('DELETE FROM `translations` WHERE `id` = 1997 And `en` = "This rubric record is not submitted due to criteria answers is not complete."');1093 $this->execute('DELETE FROM `translations` WHERE `id` = 1998 And `en` = "This student does not fall within the allowed age range for"');1094 $this->execute('DELETE FROM `translations` WHERE `id` = 1999 And `en` = "This student has already been enrolled in an institution."');1095 $this->execute('DELETE FROM `translations` WHERE `id` = 2000 And `en` = "This student was removed from the institution earlier"');1096 $this->execute('DELETE FROM `translations` WHERE `id` = 2001 And `en` = "This translation is already exists"');1097 $this->execute('DELETE FROM `translations` WHERE `id` = 2002 And `en` = "Total Amount Exceeded Outstanding Amount"');1098 $this->execute('DELETE FROM `translations` WHERE `id` = 2004 And `en` = "Total Rows:"');1099 $this->execute('DELETE FROM `translations` WHERE `id` = 2005 And `en` = "Transfer request has been approved successfully."');1100 $this->execute('DELETE FROM `translations` WHERE `id` = 2006 And `en` = "Transfer request has been rejected successfully."');1101 $this->execute('DELETE FROM `translations` WHERE `id` = 2007 And `en` = "Transfer request has been submitted successfully."');1102 $this->execute('DELETE FROM `translations` WHERE `id` = 2011 And `en` = "Wrong template file"');1103 $this->execute('DELETE FROM `translations` WHERE `id` = 2012 And `en` = "You cannot remove a not enrolled student from the institution."');1104 $this->execute('DELETE FROM `translations` WHERE `id` = 2013 And `en` = "You do not have access to this Class."');1105 $this->execute('DELETE FROM `translations` WHERE `id` = 2014 And `en` = "You do not have access to this location."');1106 $this->execute('DELETE FROM `translations` WHERE `id` = 2015 And `en` = "You have entered an invalid date."');1107 $this->execute('DELETE FROM `translations` WHERE `id` = 2016 And `en` = "You have entered an invalid time."');1108 $this->execute('DELETE FROM `translations` WHERE `id` = 2017 And `en` = "You have entered an invalid url."');1109 $this->execute('DELETE FROM `translations` WHERE `id` = 2018 And `en` = "You have not been authorised to add an institution into that area."');1110 $this->execute('DELETE FROM `translations` WHERE `id` = 2019 And `en` = "You need to configure Academic Periods first."');1111 $this->execute('DELETE FROM `translations` WHERE `id` = 2020 And `en` = "You need to configure Academic Periods for Promotion / Graduation."');1112 $this->execute('DELETE FROM `translations` WHERE `id` = 2021 And `en` = "You need to configure Classes first."');1113 $this->execute('DELETE FROM `translations` WHERE `id` = 2022 And `en` = "You need to configure Education Programmes first."');1114 $this->execute('DELETE FROM `translations` WHERE `id` = 2023 And `en` = "You need to configure Grading Types first."');1115 $this->execute('DELETE FROM `translations` WHERE `id` = 2024 And `en` = "You need to configure Guardian Education Level first."');1116 $this->execute('DELETE FROM `translations` WHERE `id` = 2025 And `en` = "You need to configure Guardian Relations first."');1117 $this->execute('DELETE FROM `translations` WHERE `id` = 2026 And `en` = "You need to configure Institution Grades first."');1118 $this->execute('DELETE FROM `translations` WHERE `id` = 2027 And `en` = "You need to configure Institution Site Positions first."');1119 $this->execute('DELETE FROM `translations` WHERE `id` = 2028 And `en` = "You need to configure Result Types under Training Course."');1120 $this->execute('DELETE FROM `translations` WHERE `id` = 2029 And `en` = "You need to configure Security Roles first."');1121 $this->execute('DELETE FROM `translations` WHERE `id` = 2030 And `en` = "You need to configure Staff Types first."');1122 $this->execute('DELETE FROM `translations` WHERE `id` = 2031 And `en` = "You need to configure Student Statuses first."');1123 $this->execute('DELETE FROM `translations` WHERE `id` = 2032 And `en` = "You need to configure Workflows for this form."');1124 $this->execute('DELETE FROM `translations` WHERE `id` = 2033 And `en` = "Your account has been disabled."');1125 $this->execute('DELETE FROM `translations` WHERE `id` = 2036 And `en` = "Trim Openemis No"');1126 $this->execute('DELETE FROM `translations` WHERE `id` = 2041 And `en` = "Absence - Excused"');1127 $this->execute('DELETE FROM `translations` WHERE `id` = 2043 And `en` = "Absence - Unexcused"');1128 $this->execute('DELETE FROM `translations` WHERE `id` = 2045 And `en` = "Late"');1129 $this->execute('DELETE FROM `translations` WHERE `id` = 2056 And `en` = "Staff Change Type"');1130 $this->execute('DELETE FROM `translations` WHERE `id` = 2057 And `en` = "Change in FTE"');1131 $this->execute('DELETE FROM `translations` WHERE `id` = 2058 And `en` = "Change in Staff Type"');1132 $this->execute('DELETE FROM `translations` WHERE `id` = 2059 And `en` = "Institution Position"');1133 $this->execute('DELETE FROM `translations` WHERE `id` = 2061 And `en` = "Currently Assigned To"');1134 $this->execute('DELETE FROM `translations` WHERE `id` = 2062 And `en` = "Requested By"');1135 $this->execute('DELETE FROM `translations` WHERE `id` = 2063 And `en` = "By clicking save, a transfer request will be sent to the institution for approval"');1136 $this->execute('DELETE FROM `translations` WHERE `id` = 2066 And `en` = "To Be Approved BY"');1137 $this->execute('DELETE FROM `translations` WHERE `id` = 2068 And `en` = "Current Institution Position"');1138 $this->execute('DELETE FROM `translations` WHERE `id` = 2069 And `en` = "Current FTE"');1139 $this->execute('DELETE FROM `translations` WHERE `id` = 2070 And `en` = "Current Staff Type"');1140 $this->execute('DELETE FROM `translations` WHERE `id` = 2072 And `en` = "Current Start Date"');1141 $this->execute('DELETE FROM `translations` WHERE `id` = 2078 And `en` = "Transfer of Staff"');1142 $this->execute('DELETE FROM `translations` WHERE `id` = 2080 And `en` = "Staff Position Profiles"');1143 $this->execute('DELETE FROM `translations` WHERE `id` = 2081 And `en` = "To Be Approved By"');1144 $this->execute('DELETE FROM `translations` WHERE `id` = 2085 And `en` = "Absence Reasons"');1145 $this->execute('DELETE FROM `translations` WHERE `id` = 2089 And `en` = "No Available Academic Periods"');1146 $this->execute('DELETE FROM `translations` WHERE `id` = 2090 And `en` = "Dropout Requests"');1147 $this->execute('DELETE FROM `translations` WHERE `id` = 2091 And `en` = "Student Dropout"');1148 $this->execute('DELETE FROM `translations` WHERE `id` = 2093 And `en` = "All Levels"');1149 $this->execute('DELETE FROM `translations` WHERE `id` = 2094 And `en` = "Current Institution"');1150 $this->execute('DELETE FROM `translations` WHERE `id` = 2095 And `en` = "Requested Institution"');1151 $this->execute('DELETE FROM `translations` WHERE `id` = 2097 And `en` = "Requested Institution Position"');1152 $this->execute('DELETE FROM `translations` WHERE `id` = 2098 And `en` = "Requested FTE"');1153 $this->execute('DELETE FROM `translations` WHERE `id` = 2100 And `en` = "Requested Staff Type"');1154 $this->execute('DELETE FROM `translations` WHERE `id` = 2101 And `en` = "Requested Start Date"');1155 $this->execute('DELETE FROM `translations` WHERE `id` = 2103 And `en` = "Please Define Default Identity Type"');1156 $this->execute('DELETE FROM `translations` WHERE `id` = 2105 And `en` = "Staff identity is mandatory"');1157 $this->execute('DELETE FROM `translations` WHERE `id` = 2107 And `en` = "Student identity is mandatory"');1158 $this->execute('DELETE FROM `translations` WHERE `id` = 2111 And `en` = "Admission"');1159 $this->execute('DELETE FROM `translations` WHERE `id` = 2113 And `en` = "Change in Staff Assignment"');1160 $this->execute('DELETE FROM `translations` WHERE `id` = 2118 And `en` = "Institution Grades"');1161 $this->execute('DELETE FROM `translations` WHERE `id` = 2120 And `en` = "Convert From"');1162 $this->execute('DELETE FROM `translations` WHERE `id` = 2121 And `en` = "Convert To"');1163 $this->execute('DELETE FROM `translations` WHERE `id` = 2122 And `en` = "No Available Options"');1164 $this->execute('DELETE FROM `translations` WHERE `id` = 2123 And `en` = "InstitutionClasses"');1165 $this->execute('DELETE FROM `translations` WHERE `id` = 2126 And `en` = "Institution Subjects"');1166 $this->execute('DELETE FROM `translations` WHERE `id` = 2133 And `en` = "Mother"');1167 $this->execute('DELETE FROM `translations` WHERE `id` = 2134 And `en` = "Father"');1168 $this->execute('DELETE FROM `translations` WHERE `id` = 2151 And `en` = "Current Week"');1169 $this->execute('DELETE FROM `translations` WHERE `id` = 2153 And `en` = "Week"');1170 $this->execute('DELETE FROM `translations` WHERE `id` = 2156 And `en` = "Institution > Positions"');1171 $this->execute('DELETE FROM `translations` WHERE `id` = 2157 And `en` = "Transfer of staff"');1172 $this->execute('DELETE FROM `translations` WHERE `id` = 2159 And `en` = "Admission of student"');1173 $this->execute('DELETE FROM `translations` WHERE `id` = 2164 And `en` = "Other Details"');1174 $this->execute('DELETE FROM `translations` WHERE `id` = 2166 And `en` = "Previous Institution"');1175 $this->execute('DELETE FROM `translations` WHERE `id` = 2168 And `en` = "No of records"');1176 $this->execute('DELETE FROM `translations` WHERE `id` = 2169 And `en` = "Apply To"');1177 $this->execute('DELETE FROM `translations` WHERE `id` = 2176 And `en` = "Hi"');1178 $this->execute('DELETE FROM `translations` WHERE `id` = 2179 And `en` = "Date of Application"');1179 $this->execute('DELETE FROM `translations` WHERE `id` = 2185 And `en` = "Institutions with No Students"');1180 $this->execute('DELETE FROM `translations` WHERE `id` = 2187 And `en` = "Institutions with No Staff"');1181 $this->execute('DELETE FROM `translations` WHERE `id` = 2188 And `en` = "All Academic Periods"');1182 $this->execute('DELETE FROM `translations` WHERE `id` = 2189 And `en` = "All Types"');1183 $this->execute('DELETE FROM `translations` WHERE `id` = 2201 And `en` = "Guardian National No"');1184 $this->execute('DELETE FROM `translations` WHERE `id` = 2207 And `en` = "End Of Assignment"');1185 $this->execute('DELETE FROM `translations` WHERE `id` = 2215 And `en` = "from"');1186 $this->execute('DELETE FROM `translations` WHERE `id` = 2217 And `en` = "to"');1187 $this->execute('DELETE FROM `translations` WHERE `id` = 2219 And `en` = "Land"');1188 $this->execute('DELETE FROM `translations` WHERE `id` = 2221 And `en` = "Floor"');1189 $this->execute('DELETE FROM `translations` WHERE `id` = 2223 And `en` = "Single Shift Owner"');1190 $this->execute('DELETE FROM `translations` WHERE `id` = 2241 And `en` = "Requested On"');1191 $this->execute('DELETE FROM `translations` WHERE `id` = 2243 And `en` = "Please set other identity type as default before deleting the current one"');1192 $this->execute('DELETE FROM `translations` WHERE `id` = 2244 And `en` = "There are no shifts configured for the selected academic period"');1193 $this->execute('DELETE FROM `translations` WHERE `id` = 2252 And `en` = "Student is already enrolled in another school"');1194 $this->execute('DELETE FROM `translations` WHERE `id` = 2258 And `en` = "Student is already enrolled in another school"');1195 $this->execute('DELETE FROM `translations` WHERE `id` = 2260 And `en` = "Student is already enrolled in another school."');1196 $this->execute('DELETE FROM `translations` WHERE `id` = 2262 And `en` = "Institution Information"');1197 $this->execute('DELETE FROM `translations` WHERE `id` = 2268 And `en` = "Special Need Difficulty"');1198 $this->execute('DELETE FROM `translations` WHERE `id` = 2272 And `en` = "Please enter a valid format"');1199 $this->execute('DELETE FROM `translations` WHERE `id` = 2274 And `en` = "Is Academic"');1200 $this->execute('DELETE FROM `translations` WHERE `id` = 2278 And `en` = "Change Type"');1201 $this->execute('DELETE FROM `translations` WHERE `id` = 2282 And `en` = "Update Details"');1202 $this->execute('DELETE FROM `translations` WHERE `id` = 2286 And `en` = "Change in Room Type"');1203 $this->execute('DELETE FROM `translations` WHERE `id` = 2288 And `en` = "Maintenance"');1204 $this->execute('DELETE FROM `translations` WHERE `id` = 2296 And `en` = "Academic Institution"');1205 $this->execute('DELETE FROM `translations` WHERE `id` = 2298 And `en` = "Academic Institution"');1206 $this->execute('DELETE FROM `translations` WHERE `id` = 2300 And `en` = "-Select Area--"');1207 $this->execute('DELETE FROM `translations` WHERE `id` = 2314 And `en` = "Student Transfer Approval"');1208 $this->execute('DELETE FROM `translations` WHERE `id` = 2322 And `en` = "Date of Birth"');1209 $this->execute('DELETE FROM `translations` WHERE `id` = 2326 And `en` = "Create New Student"');1210 $this->execute('DELETE FROM `translations` WHERE `id` = 2328 And `en` = "New Student Details"');1211 $this->execute('DELETE FROM `translations` WHERE `id` = 2330 And `en` = "Request for Change in Assignment has been submitted successfully."');1212 $this->execute('DELETE FROM `translations` WHERE `id` = 2332 And `en` = "Change in Assignment"');1213 $this->execute('DELETE FROM `translations` WHERE `id` = 2336 And `en` = "Students status changed successfully"');1214 $this->execute('DELETE FROM `translations` WHERE `id` = 2344 And `en` = "Students without Class"');1215 $this->execute('DELETE FROM `translations` WHERE `id` = 2346 And `en` = "Training Hours"');1216 $this->execute('DELETE FROM `translations` WHERE `id` = 2382 And `en` = "Exam"');1217 $this->execute('DELETE FROM `translations` WHERE `id` = 2384 And `en` = "Practical"');1218 $this->execute('DELETE FROM `translations` WHERE `id` = 2394 And `en` = "Student has already completed the selected grade."');1219 $this->execute('DELETE FROM `translations` WHERE `id` = 2400 And `en` = "This student is already allocated to"');1220 $this->execute('DELETE FROM `translations` WHERE `id` = 2401 And `en` = "The student is added to the Pending Admission list successfully."');1221 $this->execute('DELETE FROM `translations` WHERE `id` = 2402 And `en` = "Complete"');1222 $this->execute('DELETE FROM `translations` WHERE `id` = 2404 And `en` = "New Room Type"');1223 $this->execute('DELETE FROM `translations` WHERE `id` = 2405 And `en` = "There is no programme set for available Academic Period on this institution"');1224 $this->execute('DELETE FROM `translations` WHERE `id` = 2406 And `en` = "There are no shifts configured for the selected academic period, will be using system configuration timing"');1225 $this->execute('DELETE FROM `translations` WHERE `id` = 2432 And `en` = "Non-Academic Institution"');1226 $this->execute('DELETE FROM `translations` WHERE `id` = 2433 And `en` = "No Class Assignment"');1227 $this->execute('DELETE FROM `translations` WHERE `id` = 2440 And `en` = "Undo Examination Registration"');1228 $this->execute('DELETE FROM `translations` WHERE `id` = 2446 And `en` = "New Examination Centre"');1229 $this->execute('DELETE FROM `translations` WHERE `id` = 2448 And `en` = "Special Need Types"');1230 $this->execute('DELETE FROM `translations` WHERE `id` = 2450 And `en` = "No Institutions Linked"');1231 $this->execute('DELETE FROM `translations` WHERE `id` = 2453 And `en` = "Select Invigilators"');1232 $this->execute('DELETE FROM `translations` WHERE `id` = 2455 And `en` = "Select Students"');1233 $this->execute('DELETE FROM `translations` WHERE `id` = 2457 And `en` = "Select Some Options"');1234 $this->execute('DELETE FROM `translations` WHERE `id` = 2460 And `en` = "Examination Centre Information"');1235 $this->execute('DELETE FROM `translations` WHERE `id` = 2462 And `en` = "Existing Institution"');1236 $this->execute('DELETE FROM `translations` WHERE `id` = 2463 And `en` = "Institution Type"');1237 $this->execute('DELETE FROM `translations` WHERE `id` = 2469 And `en` = "Students status changed successfully."');1238 $this->execute('DELETE FROM `translations` WHERE `id` = 2470 And `en` = "Examination Centres"');1239 $this->execute('DELETE FROM `translations` WHERE `id` = 2471 And `en` = "Examination Item Results"');1240 $this->execute('DELETE FROM `translations` WHERE `id` = 2472 And `en` = "Examination Centre Students"');1241 $this->execute('DELETE FROM `translations` WHERE `id` = 2477 And `en` = "Comment Type"');1242 $this->execute('DELETE FROM `translations` WHERE `id` = 2482 And `en` = "Staff Trainings"');1243 $this->execute('DELETE FROM `translations` WHERE `id` = 2497 And `en` = "Reactivate"');1244 $this->execute('DELETE FROM `translations` WHERE `id` = 2504 And `en` = "There is a pending transfer application for this student at the moment, please remove the transfer application before making another request."');1245 $this->execute('DELETE FROM `translations` WHERE `id` = 2505 And `en` = "Student has been transferred to"');1246 $this->execute('DELETE FROM `translations` WHERE `id` = 2506 And `en` = "after registration"');1247 $this->execute('DELETE FROM `translations` WHERE `id` = 2507 And `en` = "You need to configure Assessment Periods first"');1248 $this->execute('DELETE FROM `translations` WHERE `id` = 2508 And `en` = "No Rows To Show"');1249 $this->execute('DELETE FROM `translations` WHERE `id` = 2509 And `en` = "Edit operation is not allowed as the record already End of Usage."');1250 $this->execute('DELETE FROM `translations` WHERE `id` = 2510 And `en` = "The selected students are pending for transfer approval."');1251 $this->execute('DELETE FROM `translations` WHERE `id` = 2511 And `en` = "Reopen"');1252 $this->execute('DELETE FROM `translations` WHERE `id` = 2512 And `en` = "Institution Students"');1253 $this->execute('DELETE FROM `translations` WHERE `id` = 2514 And `en` = "Staff End Date"');1254 $this->execute('DELETE FROM `translations` WHERE `id` = 2515 And `en` = "Pinding For Approval"');1255 $this->execute('DELETE FROM `translations` WHERE `id` = 2520 And `en` = "Synchronisation"');1256 // words will be added to translation table1257 $words = [1258 'Allocated To',1259 'Textbook ID',1260 'Condition',1261 'Profile',1262 'Profiles',1263 'Height',1264 'Body Mass Index',1265 'Body Mass',1266 'Promote From',1267 'Promote To',1268 'Region',1269 'Zone',1270 'Shared',1271 'Textbook',1272 'Textbook Condition',1273 'Textbook Conditions',1274 'Textbook Status',1275 'Indexes',1276 'Number Of Risk Index',1277 'Indexes Criterias',1278 'Institution Student Indexes',1279 'Operator',1280 'Less than or equal to',1281 'Threshold',1282 'References',1283 'Generate',1284 'Generated By',1285 'Generated On',1286 'Not Generated',1287 'Total Index',1288 'Counsellings',1289 'Counselling',1290 'Intervention',1291 'Counselor',1292 'Guidance Type',1293 'File Name',1294 'All associated information related to this record will also be removed. Are you sure you want to delete this record?',1295 'This field is required.',1296 'Not active homeroom teacher',1297 'Not active teaching staff',1298 'Number Of Student By Stage',1299 'Number Of Staff By Type',1300 'Number Of Staff By Year',1301 'Delete operation is not allowed as there are other information linked to this record.',1302 'File attachment is required',1303 'Secondary Staff',1304 'Secondary Teacher',1305 'Multi-grade',1306 'Secondary Home Room Teacher',1307 'Select Textbooks',1308 'Select Education Subject',1309 'Select Education Grade',1310 'Select Academic Term',1311 'All Genders',1312 'No Room Allocated',1313 'Teacher(s)',1314 'Past Teachers',1315 'Institution Textbooks',1316 'No Textbooks',1317 'Add Textbook',1318 'Pending Withdraw',1319 'Withdraw',1320 'Withdrawn',1321 'The current password was not matched.',1322 'Password should contain at least 1 uppercase character',1323 'Password should contain at least 1 number',1324 'Password should contain at least 1 non-alphanumeric character',1325 'Both passwords do not match',1326 'There must be at least one Preferred Nationality',1327 'Relation',1328 'Edit Profile',1329 'Edit Relation',1330 'Guardian User',1331 'No Guardian found.',1332 'No Guardian',1333 'No Results',1334 'No Examination Results',1335 'No Student Fees',1336 'Report Card',1337 'Report Cards',1338 'transition',1339 'Last Executer',1340 'Last Execution Date',1341 'Behaviour Classification',1342 'Classifications',1343 'Submit For Verification & Authentication',1344 'Rating',1345 'Competency Set',1346 'Competencies / Goals',1347 'Competencies',1348 'Competency',1349 'Import Salaries',1350 'Submit For Approval',1351 'Training Need Category',1352 'Applications',1353 'Apply',1354 'Number Of Months',1355 'Number Of Hours',1356 'Number Of Years',1357 'Training Field Of Study',1358 'Training Course Type',1359 'Training Mode Of Delivery',1360 'Field of Study',1361 'Field Of Studies',1362 'All Days',1363 'Behaviour Classification',1364 'Linked Cases',1365 'Case Number',1366 'Student Competencies',1367 'All Competencies',1368 'Competency Template',1369 'Competency Period',1370 'Competency Item',1371 'Competency Assessment period',1372 'Changes will be automatically saved when any value is changed',1373 'All Items',1374 'Items',1375 'Competency Items',1376 'Competency Item',1377 'Competency Grading Type',1378 'No Assessments',1379 'Student result will be save after the result has been entered.',1380 'Examination Results',1381 'Report Card Comments',1382 'Report Cards',1383 'Report Card',1384 'Select Report Card',1385 'All Report Cards',1386 'Report Card Statuses',1387 'Statuses',1388 'Payments',1389 'Add Payment',1390 'Add New Payment',1391 'All Land Types',1392 'Institution Lands',1393 'Land Type',1394 'Land Status',1395 'Institution Buildings',1396 'All Building Types',1397 'Institution Floors',1398 'All Floor Types',1399 'Floor Type',1400 'Floor Status',1401 'Institution Rooms',1402 'Enrolment Information',1403 'Cases',1404 'Case Number',1405 'Linked Records',1406 'The password is automatically generated by the system',1407 'Directories',1408 'Business',1409 'Probation',1410 'Extension',1411 'Termination',1412 'Resignation',1413 'Retirement',1414 'Temporary',1415 'Institutions with No Students',1416 'Institutions with No Staff',1417 'Area Education Code',1418 'Area Administrative Code',1419 'Year Opened',1420 'Year Closed',1421 'Area Code',1422 'No Of Seats',1423 'Preferred Nationality',1424 'All Nationalities',1425 'Previous Institution Student',1426 'Report Generated',1427 'System Usage',1428 'No previous login',1429 'Logged in within the last 7 days',1430 'All Exam Centres',1431 'Examination Results',1432 'Registered Students by Examination Centre',1433 'Not Registered Students',1434 'Training Need Type',1435 'Pending Review',1436 'Session Participants',1437 'Institution Types',1438 'Synchronize',1439 'Areas (Education)',1440 'Area Levels (Education)',1441 'Areas (Administrative)',1442 'Area Levels (Administrative)',1443 'Data will be synchronized from',1444 'New Area',1445 'Missing Area',1446 'Security Group Affected',1447 'Institution Affected',1448 'Area Administrative Level',1449 'Is Main Country',1450 'Education Level Isced',1451 'Cycles',1452 'Education Certification',1453 'Education Field Of Study',1454 'Next Programmes',1455 'Cycle - (Programme)',1456 'Education Stage',1457 'Hours Required',1458 'Auto Allocation',1459 'Grade Subjects',1460 'If this option is set to Yes, students will be allocated automatically to this subject upon enrolment to a class',1461 'Stages',1462 'Education Programme Orientation',1463 'Network Connectivities',1464 'Localities',1465 'Ownerships',1466 'Sectors',1467 'Shift Options',1468 'Report Card Comment Codes',1469 'Student Behaviour Categories',1470 'Student Transfer Reasons',1471 'Student Withdraw Reasons',1472 'Guidance Types',1473 'Staff Behaviour Categories',1474 'Staff Leave Types',1475 'Is Mandatory',1476 'Is Unique',1477 'Validation Rule',1478 'Validation Rules',1479 'Rules',1480 'Rule',1481 'Custom Module',1482 'Apply To All',1483 'Custom Filters',1484 'Add Field',1485 'Add Section',1486 'Length',1487 'Decimal Place',1488 'Create Table',1489 'Add Columns',1490 'Add Rows',1491 'Module Name',1492 'Field Name',1493 'Translations',1494 'Label',1495 'Default Value',1496 'Prefix Value',1497 'Enable',1498 'Validation Pattern',1499 'External Data Source',1500 'Attributes',1501 'Attribute Name',1502 'Product Lists',1503 'Student Admission Age',1504 'Credentials',1505 'Select Criteria',1506 'Absences Excused',1507 'Overage',1508 'Status Repeated',1509 'Add Area',1510 'Import Institutions.',1511 'All Subjects',1512 'My Subjects',1513 'Import Textbooks',1514 'My Classes',1515 'Student Profile',1516 'Transfer Request',1517 'Transfer Approval',1518 'Withdraw Request',1519 'Student Withdraw',1520 'Account Username',1521 'Import Student Attendances',1522 'Undo Student Status',1523 'Competency Results',1524 'Competency Comments',1525 'Staff Profile',1526 'Import Staff Attendances',1527 'Transfer Approvals',1528 'Change in Staff Assignment',1529 'Import Staff',1530 'Generate/Download',1531 'Publish/Unpublish',1532 'Guardian Profile',1533 'Student Body Mass',1534 'Salary List',1535 'Salary Details',1536 'Import Staff Salaries',1537 'Import Users',1538 'Academic Period Levels',1539 'Education Systems',1540 'Education Levels',1541 'Education Cycles',1542 'Education Programmes',1543 'Education Grade Subjects',1544 'Webhooks',1545 'Alerts',1546 'Alert Rules',1547 'Workflows',1548 'Steps',1549 'Exam Centre Rooms',1550 'Exam Centre Exams',1551 'Exam Centre Subjects',1552 'Exam Centre Students',1553 'Exam Centre Invigilators',1554 'Exam Centre Linked Institutions',1555 'Import Results',1556 'Import Examination Rooms',1557 'Competency Setup',1558 'question',1559 'Custom Module',1560 'Survey Questions',1561 'Survey Question',1562 'All Surveys',1563 'Dependent Question',1564 'Show Options',1565 'Enabled',1566 'Dropdown Question Options',1567 'Select Question Options',1568 'Select Some Options',1569 'Dependent On',1570 'Select One',1571 'Save',1572 'Template',1573 'Weighting Type',1574 'Percentage',1575 'rubric',1576 'Security Roles',1577 'Start',1578 'Stop',1579 'Running',1580 'License Renewal',1581 'License Validity',1582 'Retirement Warning',1583 'Staff Employment',1584 'All Features',1585 'Method',1586 'Rule Setup',1587 'Alert Content',1588 'Keywords',1589 'Processed Date',1590 'Target Population Selection',1591 'Import Trainees',1592 'No Trainee found.',1593 'No Trainer found.',1594 'Submit for Registration',1595 'Pending For Registration',1596 'Pending For Review',1597 'Pending For Evaluation',1598 'Submit For Evaluation',1599 'Pending For Posting',1600 'Posted',1601 'Excel Template',1602 'Academic Term',1603 'Edit Academic Term',1604 'All Templates',1605 'Criteria Grading Options',1606 'Add New Examination Item',1607 'Add Examination Item',1608 'Add Examination Centre',1609 'Link Examination',1610 'Add Special Need Type',1611 'Add All Special Need Type',1612 'Special Need Type',1613 'Select Special Need Type',1614 'Special Need Accommodations',1615 'Examination Date',1616 'All Rooms',1617 'Add Invigilator',1618 'Linked Institution',1619 'Auto Assign To Room',1620 'Register for Examination',1621 'Single Student Registration',1622 'You need to configure Examination Items first',1623 'Select Education Level',1624 'Select Education Programme',1625 'All Education Subject',1626 'Author',1627 'Publisher',1628 'Year Published',1629 'Principal Comments Required',1630 'Homeroom Teacher Comments Required',1631 'Teacher Comments Required',1632 'Filters',1633 'Workflow Model',1634 'Select Workflow',1635 'All Workflows',1636 'Deletable',1637 'Add workflow steps',1638 'Workflow Step Name',1639 'Workflow Name',1640 'No Available Workflow Steps',1641 'Workflow Step',1642 'Next Workflow Step',1643 'Allow By Assignee',1644 'Post Events',1645 'Add Event',1646 'All Models',1647 'Workflow Statuses Steps Mapping',1648 'Statuses Steps',1649 'Changelog',1650 'Date Released',1651 'Date Approved',1652 'Localization',1653 'Approved By',1654 'Training Session Results',1655 'Staff Training Needs',1656 'Language ISO code should be 2 letters'1657 ];1658 $wordsData = [];1659 foreach ($words as $text) {1660 $wordsData[] = [1661 'en' => $text,1662 'editable' => 1,1663 'created_user_id' => 1,1664 'created' => date('Y-m-d H:i:s')1665 ];1666 }1667 $this->insert('translations', $wordsData);1668 // locales table1669 $table = $this->table('locales', [1670 'collation' => 'utf8mb4_unicode_ci',1671 'comment' => 'This table contains the locale languages'1672 ]);1673 $table1674 ->addColumn('iso', 'string', [1675 'default' => null,1676 'limit' => 2,1677 'null' => false1678 ])1679 ->addColumn('name', 'string', [1680 'default' => null,1681 'limit' => 50,1682 'null' => false1683 ])1684 ->addColumn('editable', 'integer', [1685 'default' => 1,1686 'limit' => 1,1687 'null' => false1688 ])1689 ->addColumn('direction', 'char', [1690 'default' => 'ltr',1691 'limit' => 3,1692 'null' => false,1693 'comment' => 'lrt = left to right, rtl = right to left'1694 ])1695 ->addColumn('modified_user_id', 'integer', [1696 'default' => null,1697 'limit' => 11,1698 'null' => true1699 ])1700 ->addColumn('modified', 'datetime', [1701 'default' => null,1702 'null' => true1703 ])1704 ->addColumn('created_user_id', 'integer', [1705 'default' => null,1706 'limit' => 11,1707 'null' => false1708 ])1709 ->addColumn('created', 'datetime', [1710 'default' => null,1711 'null' => false1712 ])1713 ->addIndex('modified_user_id')1714 ->addIndex('created_user_id')1715 ->save()1716 ;1717 // insert data to locales table1718 $localesData = [1719 [1720 'id' => 1,1721 'iso' => 'ar',1722 'name' => 'العربية',1723 'editable' => 0,1724 'direction' => 'rtl',1725 'created_user_id' => 1,1726 'created' => date('Y-m-d H:i:s')1727 ],1728 [1729 'id' => 2,1730 'iso' => 'zh',1731 'name' => '中文',1732 'editable' => 0,1733 'direction' => 'ltr',1734 'created_user_id' => 1,1735 'created' => date('Y-m-d H:i:s')1736 ],1737 [1738 'id' => 3,1739 'iso' => 'en',1740 'name' => 'English',1741 'editable' => 0,1742 'direction' => 'rtl',1743 'created_user_id' => 1,1744 'created' => date('Y-m-d H:i:s')1745 ],1746 [1747 'id' =>4,1748 'iso' => 'fr',1749 'name' => 'Français',1750 'editable' => 0,1751 'direction' => 'ltr',1752 'created_user_id' => 1,1753 'created' => date('Y-m-d H:i:s')1754 ],1755 [1756 'id' => 5,1757 'iso' => 'ru',1758 'name' => 'русский',1759 'editable' => 0,1760 'direction' => 'ltr',1761 'created_user_id' => 1,1762 'created' => date('Y-m-d H:i:s')1763 ],1764 [1765 'id' => 6,1766 'iso' => 'es',1767 'name' => 'español',1768 'editable' => 0,1769 'direction' => 'ltr',1770 'created_user_id' => 1,1771 'created' => date('Y-m-d H:i:s')1772 ],1773 ];1774 $this->insert('locales', $localesData);1775 // end insert data to locales table1776 // end locales1777 // locale_contents1778 $table = $this->table('locale_contents', [1779 'collation' => 'utf8mb4_unicode_ci',1780 'comment' => 'This table contains the words in english'1781 ]);1782 $table1783 ->addColumn('en', 'text', [1784 'default' => null,1785 'null' => false1786 ])1787 ->addColumn('modified_user_id', 'integer', [1788 'default' => null,1789 'limit' => 11,1790 'null' => true1791 ])1792 ->addColumn('modified', 'datetime', [1793 'default' => null,1794 'null' => true1795 ])1796 ->addColumn('created_user_id', 'integer', [1797 'default' => null,1798 'limit' => 11,1799 'null' => false1800 ])1801 ->addColumn('created', 'datetime', [1802 'default' => null,1803 'null' => false1804 ])1805 ->addIndex('modified_user_id')1806 ->addIndex('created_user_id')1807 ->save()1808 ;1809 // insert data to locale_contents1810 $this->execute('1811 INSERT INTO `locale_contents` (`id`, `en`, `modified_user_id`, `modified`, `created_user_id`, `created`)1812 SELECT `id`, `en`, 2 , NOW(), `created_user_id`, `created`1813 FROM `translations`;1814 ');1815 // end insert data to locale_contents1816 // end locale_contents1817 // locale_content_translations1818 $table = $this->table('locale_content_translations', [1819 'collation' => 'utf8mb4_unicode_ci',1820 'comment' => 'This table contains the translation of english word'1821 ]);1822 $table1823 ->addColumn('translation', 'text', [1824 'default' => null,1825 'null' => true1826 ])1827 ->addColumn('locale_content_id', 'integer', [1828 'default' => null,1829 'limit' => 11,1830 'null' => true,1831 'comment' => 'links to locale_contents.id'1832 ])1833 ->addColumn('locale_id', 'integer', [1834 'default' => null,1835 'limit' => 11,1836 'null' => true,1837 'comment' => 'links to locale.id'1838 ])1839 ->addColumn('modified_user_id', 'integer', [1840 'default' => null,1841 'limit' => 11,1842 'null' => true1843 ])1844 ->addColumn('modified', 'datetime', [1845 'default' => null,1846 'null' => true1847 ])1848 ->addColumn('created_user_id', 'integer', [1849 'default' => null,1850 'limit' => 11,1851 'null' => false1852 ])1853 ->addColumn('created', 'datetime', [1854 'default' => null,1855 'null' => false1856 ])1857 ->addIndex('locale_content_id')1858 ->addIndex('locale_id')1859 ->addIndex('modified_user_id')1860 ->addIndex('created_user_id')1861 ->save()1862 ;1863 // insert data to locale_content_translations1864 $this->execute('1865 INSERT INTO `locale_content_translations` (`translation`,`locale_content_id`, `locale_id`,`created_user_id`,`created`)1866 SELECT `Z`.`ar`, `L`.`id`, 1, `Z`.`created_user_id`, `Z`.`created`1867 FROM `translations` AS `Z`1868 INNER JOIN `locale_contents` `L` ON `L`.`id` = `Z`.`id`1869 WHERE `Z`.`en` = `L`.`en`1870 ;1871 '); // ar = arabic1872 $this->execute('1873 INSERT INTO `locale_content_translations` (`translation`,`locale_content_id`, `locale_id`,`created_user_id`,`created`)1874 SELECT `Z`.`zh`, `L`.`id`, 2, `Z`.`created_user_id`, `Z`.`created`1875 FROM `translations` AS `Z`1876 INNER JOIN `locale_contents` `L` ON `L`.`id` = `Z`.`id`1877 WHERE `Z`.`en` = `L`.`en`1878 ;1879 '); // zh = chinese1880 $this->execute('1881 INSERT INTO `locale_content_translations` (`translation`,`locale_content_id`, `locale_id`,`created_user_id`,`created`)1882 SELECT `Z`.`fr`, `L`.`id`, 4, `Z`.`created_user_id`, `Z`.`created`1883 FROM `translations` AS `Z`1884 INNER JOIN `locale_contents` `L` ON `L`.`id` = `Z`.`id`1885 WHERE `Z`.`en` = `L`.`en`1886 ;1887 '); // fr = french1888 $this->execute('1889 INSERT INTO `locale_content_translations` (`translation`,`locale_content_id`, `locale_id`,`created_user_id`,`created`)1890 SELECT `Z`.`ru`, `L`.`id`, 5, `Z`.`created_user_id`, `Z`.`created`1891 FROM `translations` AS `Z`1892 INNER JOIN `locale_contents` `L` ON `L`.`id` = `Z`.`id`1893 WHERE `Z`.`en` = `L`.`en`1894 ;1895 '); // ru = russian1896 $this->execute('1897 INSERT INTO `locale_content_translations` (`translation`,`locale_content_id`, `locale_id`,`created_user_id`,`created`)1898 SELECT `Z`.`es`, `L`.`id`, 6, `Z`.`created_user_id`, `Z`.`created`1899 FROM `translations` AS `Z`1900 INNER JOIN `locale_contents` `L` ON `L`.`id` = `Z`.`id`1901 WHERE `Z`.`en` = `L`.`en`1902 ;1903 '); // es = espanyol1904 // end insert data to locale_content_translations1905 // end locale_content_translations1906 // delete translations table1907 $this->execute('DROP TABLE translations');1908 $this->execute("UPDATE `security_functions` SET controller = 'LocaleContents', category = 'Localization', _add = NULL, _delete = NULL WHERE `id` = 5019");1909 $data = [1910 'id' => '5080',1911 'name' => 'Languages',1912 'controller' => 'Locales',1913 'module' => 'Administration',1914 'category' => 'Localization',1915 'parent_id' => 5000,1916 '_view' => 'index|view',1917 '_edit' => 'edit',1918 '_add' => 'add',1919 '_delete' => 'delete',1920 '_execute' => NULL,1921 'order' => 171,1922 'visible' => 1,1923 'description' => NULL,1924 'modified_user_id' => NULL,1925 'modified' => NULL,1926 'created_user_id' => 1,1927 'created' => date('Y-m-d H:i:s')1928 ];1929 $this->insert('security_functions', $data);1930 }1931 // rollback1932 public function down()1933 {1934 $this->execute("UPDATE `security_functions` SET controller = 'Translations', category = 'Translations', _add = 'add', _delete = 'remove' WHERE `id` = 5019");1935 $this->execute("DELETE FROM `security_functions` WHERE `id` = 5080");1936 $this->execute('DROP TABLE `locales`');1937 $this->execute('DROP TABLE `locale_contents`');1938 $this->execute('DROP TABLE `locale_content_translations`');1939 $this->execute('DROP TABLE IF EXISTS `translations`');1940 $this->execute('RENAME TABLE `z_3674_translations` TO `translations`');1941 }1942}...

Full Screen

Full Screen

lib.function.inc.php

Source:lib.function.inc.php Github

copy

Full Screen

1<?php23function ¸ù¾ÝѧÆڹ鵵Ëã·¨·µ»ØÊý¾Ý±íÃû³Æ($TableName='edu_teacherkaoqinmingxi') {4 global $db,$ѧÆÚÃû³Æ,$_GET;5 if($ѧÆÚÃû³Æ==''&&$_GET['CurXueQi']!="") {6 $ѧÆÚÃû³Æ = $_GET['CurXueQi'];7 }8 if($ѧÆÚÃû³Æ!=""&&$_SESSION['ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ']=="") {9 SESSION_REGISTER("ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ");10 $_SESSION['ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ'] = $ѧÆÚÃû³Æ;11 }12 if($ѧÆÚÃû³Æ!=""&&$ѧÆÚÃû³Æ!=$_SESSION['ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ']) {13 $_SESSION['ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ'] = $ѧÆÚÃû³Æ;14 }15 $ѧÆÚÐÅÏ¢ = returntablefield("edu_xueqiexec","ѧÆÚÃû³Æ",$_SESSION['ѧÆڹ鵵Ëã·¨ÐèҪʹÓõÄѧÆÚÃû³Æ'],"Á÷Ë®ºÅ,µ±Ç°Ñ§ÆÚ");16 $ѧÆÚÁ÷Ë®ºÅ = $ѧÆÚÐÅÏ¢['Á÷Ë®ºÅ'];17 $µ±Ç°Ñ§ÆÚ = $ѧÆÚÐÅÏ¢['µ±Ç°Ñ§ÆÚ'];18 if($µ±Ç°Ñ§ÆÚ==1) {19 return $TableName;20 }21 elseif($ѧÆÚÁ÷Ë®ºÅ!="") {22 return $TableName."___".$ѧÆÚÁ÷Ë®ºÅ;23 }24 else {25 return $TableName;26 }27}282930function ÅжÏÕÐÉúÊý¾ÝÊÇ·ñÍê³É() {31 global $db;32 return '';exit;33 if($_GET['action']==''||$_GET['action']=='init_default') {34 $sql = "select COUNT(*) AS NUM from edu_newstudent where ÊÇ·ñתÒÆѧ¼® ='1'";35 $rs = $db->Execute($sql);36 if($rs->fields['NUM']>0) {37 page_css("ÔÚÐÂÉúϵͳ´æÔÚÐÂÉúÊý¾Ý");38 print_infor("ÔÚÐÂÉúϵͳ´æÔÚÐÂÉúÊý¾Ý,ÇëÏÈ´¦ÀíÍêÐÂÉú¼ȡÒÔ¼°±¨µ½¹¤×÷,תÍê³Éѧ¼®,½áÊøÍêÐÂÉú¹¤×÷ÒÔºó,ÔÙÀ´²Ù×÷´ËÄ£¿é");39 exit;40 }41 }42}43444546function Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö($Ä¿±êÅжÏ×Ö¶Î) {47 global $db,$SYSTEM_ADD_SQL,$SYSTEM_PRINT_SQL;48 global $Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö_ÊÇ·ñÆôÓÃ,$_GET,$filetablename_old;49 $Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö_ÊÇ·ñÆôÓà = 1;50 session_register("Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö");51 session_register("Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ");5253 $µ±Ç°Ñ§ÆÚ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");5455 if($_GET['CurXueQi']==""&&$_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'] == "") {56 $_GET['CurXueQi'] = $µ±Ç°Ñ§ÆÚ;57 }58 if($_GET['CurXueQi']==""&&$_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'] != "") {59 $_GET['CurXueQi'] = $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'];60 }61 $_GET['ѧÆÚ'] = $_GET['CurXueQi'];6263 if($_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'] == ""||64 substr($_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'],0,strlen($filetablename_old)) != $filetablename_old65 ) {66 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'] = $filetablename_old;67 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'] = $µ±Ç°Ñ§ÆÚ;68 }69 //print $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'];7071 $sql = "SHOW TABLES LIKE '".$filetablename_old."%'";72 $rs = $db->CacheExecute(150,$sql);73 $¹éµµÑ§ÆÚ±íÊý×é = $rs->GetArray();74 for($i=0;$i<sizeof($¹éµµÑ§ÆÚ±íÊý×é);$i++) {75 $TEMPARRAY = array_values($¹éµµÑ§ÆÚ±íÊý×é[$i]);76 $TableNameArray[] = $TEMPARRAY[0];77 }78 //print_R($TableNameArray);79 $sql="select ѧÆÚÃû³Æ,Á÷Ë®ºÅ,µ±Ç°Ñ§ÆÚ from edu_xueqiexec";80 $rs =$db->CacheExecute(150,$sql);//print_R($rs->GetArray());81 $ѧÆÚÎı¾ .= "&nbsp;<select class=\"SmallSelect\" name=\"CurXueQi\" onChange=\"var jmpURL='?XX=XX&action=".$_GET['action']."&CurXueQi=' + this.options[this.selectedIndex].value ; if(jmpURL!='') {window.location=jmpURL;} else {this.selectedIndex=0 ;}\"82 >\n";83 while(!$rs->EOF) {84 $ѧÆÚÃû³Æ = $rs->fields['ѧÆÚÃû³Æ'];85 $Á÷Ë®ºÅ = $rs->fields['Á÷Ë®ºÅ'];86 $µ±Ç°Ñ§ÆÚ = $rs->fields['µ±Ç°Ñ§ÆÚ'];87 $бíÃû = $filetablename_old."___".$Á÷Ë®ºÅ;88 if(in_array($бíÃû,$TableNameArray)||$µ±Ç°Ñ§ÆÚ==1) {89 if($_GET['CurXueQi']==$rs->fields['ѧÆÚÃû³Æ']) {90 $temp='selected';91 if($_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö']!='') {92 if($µ±Ç°Ñ§ÆÚ==1) {93 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'] = $filetablename_old;94 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'] = $ѧÆÚÃû³Æ;95 }96 else {97 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö'] = $бíÃû;98 $_SESSION['Ôö¼Ó¶ÔѧÆڹ鵵²éѯÊý¾ÝµÄÖ§³Ö_ѧÆÚ'] = $ѧÆÚÃû³Æ;99 }100 }101 }102 $ѧÆÚÎı¾ .= "<option value=\"".$rs->fields['ѧÆÚÃû³Æ']."\" $temp>".$rs->fields['ѧÆÚÃû³Æ']."</option>\n";103 }104 $temp='';105 $rs->MoveNext();106 }107 $ѧÆÚÎı¾ .= "</select>\n";108109110 if(($_GET['action']==""||$_GET['action']=="init_default")) {111 print "<form name=formadd><table class=TableBlock width=100% ><tr><td nowrap class=TableContent align=left>";112 print "<font color=green>µ±Ç°²éÔĵÄÊý¾ÝÀ´Ô´:</font>";113 print $ѧÆÚÎı¾;114 print "</font></td></tr></table></form><BR>";115116 }117118 //$SYSTEM_PRINT_SQL = "1";119120}121122function addShortCutByDate($Ä¿±êÅжÏ×Ö¶Î) {123 global $db,$SYSTEM_ADD_SQL,$SYSTEM_PRINT_SQL;124 global $Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö_ÊÇ·ñÆôÓÃ;125 $Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö_ÊÇ·ñÆôÓà = 1;126 session_register("Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö");127 if($_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö']=='') {128 $_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö'] = 'ÉèÖÃΪ1';129 }130 if($_GET['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³ÖGET']=="ÉèÖÃΪ0") {131 $_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö'] = 'ÉèÖÃΪ0';132 }133 elseif($_GET['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³ÖGET']=="ÉèÖÃΪ1") {134 $_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö'] = 'ÉèÖÃΪ1';135 }136 //print $_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö'];137138 if(($_GET['action']==""||$_GET['action']=="init_default")&&$_SESSION['Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³Ö']=='ÉèÖÃΪ1') {139 print "<form name=formadd><table class=TableBlock width=100% ><tr><td nowrap class=TableContent align=left>";140 if($_GET['µ±Ç°ËÑË÷·½Ê½']=="µ±Ìì") $_GET['µ±Ç°ËÑË÷·½Ê½'] = "µ±Ìì&nbsp;&nbsp;&nbsp;&nbsp;";141 if($_GET['µ±Ç°ËÑË÷·½Ê½']=="") $_GET['µ±Ç°ËÑË÷·½Ê½'] = "ûÓÐÑ¡Ôñ";142 print "<font color=green>°´".$Ä¿±êÅжÏ×Ö¶Î."ËÑË÷:".$_GET['µ±Ç°ËÑË÷·½Ê½']."";143144 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),145 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),146 '',147 "µ±Ç°ËÑË÷·½Ê½","µ±Ìì"148 );149 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">µ±Ìì</a>";150151 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d")-3,date("Y"))),152 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),153 '',154 "µ±Ç°ËÑË÷·½Ê½","×î½üÈýÌì"155 );156 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÈýÌì</a>";157158 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d")-7,date("Y"))),159 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),160 '',161 "µ±Ç°ËÑË÷·½Ê½","×î½üÒ»ÖÜ"162 );163 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÒ»ÖÜ</a>";164165 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d")-15,date("Y"))),166 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),167 '',168 "µ±Ç°ËÑË÷·½Ê½","×î½ü°ëÔÂ"169 );170 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½ü°ëÔÂ</a>";171172 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m")-1,date("d"),date("Y"))),173 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),174 '',175 "µ±Ç°ËÑË÷·½Ê½","×î½üÒ»ÔÂ"176 );177 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÒ»ÔÂ</a>";178179 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m")-2,date("d"),date("Y"))),180 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),181 '',182 "µ±Ç°ËÑË÷·½Ê½","×î½üÁ½ÔÂ"183 );184 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÁ½ÔÂ</a>";185186 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m")-3,date("d"),date("Y"))),187 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),188 '',189 "µ±Ç°ËÑË÷·½Ê½","×î½üÈýÔÂ"190 );191 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÈýÔÂ</a>";192193 $FormPageAction = FormPageAction("¿ªÊ¼Ê±¼äADD",date("Y-m-d",mktime(0,0,1,date("m")-6,date("d"),date("Y"))),194 "½áÊøʱ¼äADD",date("Y-m-d",mktime(0,0,1,date("m"),date("d"),date("Y"))),195 '',196 "µ±Ç°ËÑË÷·½Ê½","×î½üÁùÔÂ"197 );198 print "&nbsp;&nbsp;<a href=\"?$FormPageAction\">×î½üÁùÔÂ</a>";199200 print "&nbsp;&nbsp;<a href='?".FormPageAction("Ôö¼Ó¶Ô²éѯÈÕÆÚ¿ì½Ý·½Ê½µÄÖ§³ÖGET","ÉèÖÃΪ0")."'><font color=gray>¹Ø±ÕÏÔʾ</font></a>";201202 print "</font></td></tr></table></form><BR>";203 if($_GET['¿ªÊ¼Ê±¼äADD']!=""&&$_GET['½áÊøʱ¼äADD']!="") {204 $SYSTEM_ADD_SQL .= "and $Ä¿±êÅжÏ×Ö¶Î>='".$_GET['¿ªÊ¼Ê±¼äADD']." 00:00:00' and $Ä¿±êÅжÏ×Ö¶Î<='".$_GET['½áÊøʱ¼äADD']." 23:59:59'";205 }206207 }208209 //$SYSTEM_PRINT_SQL = "1";210211}212213214function ³õʼ»¯½Ìʦ¿¼ÇÚÀïÃæ´íÎóÖÜ´ÎÐÅÏ¢($µ±Ç°Ñ§ÆÚ) {215 global $db;216 $sql = "select ÖÜ´Î,¿¼ÇÚÈÕÆÚ from edu_teacherkaoqinmingxi where ÖÜ´Î<='0' and ѧÆÚ='$µ±Ç°Ñ§ÆÚ'";217 $rs = $db->CacheExecute(30,$sql);218 $rs_a = $rs->GetArray();219 for($i=0;$i<sizeof($rs_a);$i++) {220 $¿¼ÇÚÈÕÆÚ = $rs_a[$i]['¿¼ÇÚÈÕÆÚ'];221 $ÖÜ´Î = $rs_a[$i]['ÖÜ´Î'];222 $ÐÂÖÜ´Î = returnCurWeekIndex($¿¼ÇÚÈÕÆÚ);223 $sql = "update edu_teacherkaoqinmingxi set ÖÜ´Î='$ÐÂÖÜ´Î' where ÖÜ´Î='$ÖÜ´Î'";224 $db->Execute($sql);225 //print $sql."<BR>";226 }227228 $sql = "select ÖÜ´Î,¿¼ÇÚÈÕÆÚ from edu_studentkaoqin where ÖÜ´Î<='0' and ѧÆÚÃû³Æ='$µ±Ç°Ñ§ÆÚ'";229 $rs = $db->CacheExecute(30,$sql);230 $rs_a = $rs->GetArray();231 for($i=0;$i<sizeof($rs_a);$i++) {232 $¿¼ÇÚÈÕÆÚ = $rs_a[$i]['¿¼ÇÚÈÕÆÚ'];233 $ÖÜ´Î = $rs_a[$i]['ÖÜ´Î'];234 $ÐÂÖÜ´Î = returnCurWeekIndex($¿¼ÇÚÈÕÆÚ);235 $sql = "update edu_studentkaoqin set ÖÜ´Î='$ÐÂÖÜ´Î' where ÖÜ´Î='$ÖÜ´Î'";236 $db->Execute($sql);237 //print $sql."<BR>";238 }239240}241242243function ÖØгõʼ»¯½Ìʦ¿¼ÇÚÀïÃæÖÜ´ÎÐÅÏ¢($µ±Ç°Ñ§ÆÚ) {244 global $db;245 $sql = "select ¿¼ÇÚÈÕÆÚ from edu_teacherkaoqinmingxi where ѧÆÚ='$µ±Ç°Ñ§ÆÚ' group by ¿¼ÇÚÈÕÆÚ";246 $rs = $db->CacheExecute(30,$sql);247 $rs_a = $rs->GetArray();248 for($i=0;$i<sizeof($rs_a);$i++) {249 $¿¼ÇÚÈÕÆÚ = $rs_a[$i]['¿¼ÇÚÈÕÆÚ'];250 $ÖÜ´Î = $rs_a[$i]['ÖÜ´Î'];251 $ÐÂÖÜ´Î = returnCurWeekIndex($¿¼ÇÚÈÕÆÚ);252 $sql = "update edu_teacherkaoqinmingxi set ÖÜ´Î='$ÐÂÖÜ´Î' where ¿¼ÇÚÈÕÆÚ='$¿¼ÇÚÈÕÆÚ'";253 $db->Execute($sql);254 //print $sql."<BR>";255 }256257}258259function ³õʼ»¯Ñ§Ð£»ù±¾ÐÅÏ¢($tablename='edu_schoolbaseinfor',$fieldname='ѧУÃû³Æ') {260 global $db;261 //½ÏÑéÓû§ÐÅÏ¢ÊÇ·ñ´æÔÚ262 $sql = "select COUNT(*) AS NUM from $tablename";263 $rs = $db->Execute($sql);264 $NUM = $rs->fields['NUM'];265 $sql = "select UNIT_NAME from unit limit 1";266 $rs = $db->Execute($sql);267 $UNIT_NAME = $rs->fields['UNIT_NAME'];268 if($NUM==0) {269 $sql = "insert into $tablename($fieldname) values('$UNIT_NAME')";270 $db->Execute($sql);271 }272 else {273 $sql = "update $tablename set $fieldname='$UNIT_NAME'";274 $db->Execute($sql);275 }276}277278279function ¶¨Ê±Ö´Ðк¯Êý($º¯ÊýÃû³Æ='ͬ²½½Ìѧ¼Æ»®Ñ§·ÖÐÅÏ¢µ½³É¼¨Êý¾Ý±íÖ®ÖÐ',$¼ä¸ôʱ¼ä='30') {280 //½øÐдÓÖ÷Êý¾Ý¿âÖÐͬ²½Êý¾Ý281 $±äÁ¿Ãû³Æ = "¶¨Ê±Ö´Ðк¯Êý_".$º¯ÊýÃû³Æ;282 //session_unregister($±äÁ¿Ãû³Æ);//²âÊÔʹÓõÄÐдúÂë283 if(!session_is_registered($±äÁ¿Ãû³Æ)) {284 session_register($±äÁ¿Ãû³Æ);285 $_SESSION[$±äÁ¿Ãû³Æ] = time();286 }287 $ÏÖÔÚʱ¼äÏß = time();288 $ʱ¼ä²î = $ÏÖÔÚʱ¼äÏß - $_SESSION[$±äÁ¿Ãû³Æ];289 $ʱ¼ä²îCEIL = ceil($ʱ¼ä²î/60);290 //print_R($ʱ¼ä²î);291 //print $±äÁ¿Ãû³Æ.":".$ʱ¼ä²î." ".date("H:i",$_SESSION[$±äÁ¿Ãû³Æ])."<BR>";292 //print $PHP_SELF_BEGIN."<BR>";293 //µ±Ê±¼ä³¬¹ýijһֵ,»òÊÇÍ·Ò»´Î·ÃÎʵÄʱºò,ÐèÒªÖ´Ðд˹ý³Ì294 if($ʱ¼ä²îCEIL>=$¼ä¸ôʱ¼ä||$ʱ¼ä²î==0) {295 //Ö´ÐвÎÊý´«µÝ¹ýÀ´µÄ²ÎÊý296 $º¯ÊýÃû³Æ();297 //¸üбê¼Çʱ¼ä298 $_SESSION[$±äÁ¿Ãû³Æ] = time();299 }//exit;300}301302303function ×Ô¶¯ÇåÀíÐÐÕþ¿¼ÇÚÖÐÀëÖ°ÈËÔ±²úÉúµÄ¶àÓàÊý¾Ý() {304 global $db,$_SESSION;305 //$MetaDatabases = $db->MetaDatabases();306 if($_SESSION['SYSTEM_IS_TD_OA']=="1") {307 $tablenamePRE = "TD_OA.user";308 }309 else {310 $tablenamePRE = "user";311 }312 $sql = "delete from edu_xingzheng_kaoqinmingxi where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";313 $db->Execute($sql);314 //print $sql."<BR>";315 $sql = "delete from edu_xingzheng_jiabanbuxiu where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";316 $db->Execute($sql);317 //print $sql."<BR>";318 $sql = "delete from edu_xingzheng_kaoqinbudeng where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";319 $db->Execute($sql);320 //print $sql."<BR>";321 $sql = "delete from edu_xingzheng_qingjia where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";322 $db->Execute($sql);323 //print $sql."<BR>";324 $sql = "delete from edu_xingzheng_tiaoban where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";325 $db->Execute($sql);326 //print $sql."<BR>";327 $sql = "delete from edu_xingzheng_tiaobanxianghu where Ô­ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";328 $db->Execute($sql);329 //print $sql."<BR>";330 $sql = "delete from edu_xingzheng_tiaobanxianghu where ÐÂÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";331 $db->Execute($sql);332 //print $sql."<BR>";333 $sql = "delete from edu_xingzheng_tiaoxiububan where ÈËÔ±Óû§Ãû not in (select USER_ID from $tablenamePRE where DEPT_ID>'0')";334 $db->Execute($sql);335 //print $sql."<BR>";336337 $sql = "select ±àºÅ,ÅÅ°àÈËÔ± from edu_xingzheng_paiban";338 $rs = $db->Execute($sql);339 $rs_a = $rs->GetArray();340 for($i=0;$i<sizeof($rs_a);$i++) {341 $±àºÅ = $rs_a[$i]['±àºÅ'];342 $ÅÅ°àÈËÔ± = $rs_a[$i]['ÅÅ°àÈËÔ±'];343 $USER_NAME = returntablefield('user',"USER_ID",$ÅÅ°àÈËÔ±,"USER_NAME");344 if($USER_NAME=="") {345 $ÅÅ°àÈËÔ±½á¹û = useridfilter($ÅÅ°àÈËÔ±);346 $sql = "update edu_xingzheng_paiban set ÅÅ°àÈËÔ±='$ÅÅ°àÈËÔ±½á¹û' where ±àºÅ='$±àºÅ'";347 $db->Execute($sql);348 //print $sql."<BR>";349 }350 }//exit;351352}353354function ÊÖ¶¯µ¼³öËùÓÐËÞÉáÂ¥ÐÅÏ¢() {355 global $db;356 if($_GET['action']==''||$_GET['action']=='init_default') {357 $sql = "select ËÞÉáÂ¥Ãû³Æ from dorm_building order by ËÞÉáÂ¥Ãû³Æ";358 $rs = $db->Execute($sql);359 $rs_a = $rs->GetArray();360 $ÆÀ±ÈÈÕÆÚ = date("Y-m-d");361 $ËÞÉáÂ¥Ãû³Æ_lin = "°´ËÞÉáÂ¥µ¼³ö:";362 for($i=0;$i<sizeof($rs_a);$i++) {363 $ËÞÉáÂ¥Ãû³Æ = $rs_a[$i]['ËÞÉáÂ¥Ãû³Æ'];364 $ËÞÉáÂ¥Ãû³Æ_lin .= "&nbsp;<a href='?".base64_encode("XX=XX&XX&ËÞÉáÂ¥=$ËÞÉáÂ¥Ãû³Æ&ÆÀ±ÈÈÕÆÚ_¿ªÊ¼Ê±¼ä=$ÆÀ±ÈÈÕÆÚ&ÆÀ±ÈÈÕÆÚ_½áÊøʱ¼ä=$ÆÀ±ÈÈÕÆÚ&¿ìËÙ²éѯ=¿ìËÙ²éѯ&pageid=1&action=export_default_data&exportfield=1,2,3,4,5,6,7,8,9,10,11,,,14,15,16&tablename=edu_susheweishengday&XX=XX")."'>$ËÞÉáÂ¥Ãû³Æ</a>";365 }366 $PrintText .= "<table class=TableBlock align=center width=100%>";367 $PrintText .= "<TR class=TableContent><td ><font color=green >$ËÞÉáÂ¥Ãû³Æ_lin368 </font></td></table><BR>";369 print $PrintText;370 }371}372373374function ͬ²½°à¼¶ÐÅÏ¢µ½Ã¿Ìì¼ÍÂÉÎÀÉúÆÀ±ÈÒ³Ãæ($ÆÀ±ÈÈÕÆÚ='') {375 global $db;376 if($ÆÀ±ÈÈÕÆÚ=='') $ÆÀ±ÈÈÕÆÚ = date("Y-m-d");377 $ÐÇÆÚ = ·µ»Ø¸ø¶¨Ê±¼äµÄÐÇÆÚÐÅÏ¢($ÆÀ±ÈÈÕÆÚ);378 if($ÐÇÆÚ>=1&&$ÐÇÆÚ<=5) {379 $´´½¨Ê±¼ä = date("Y-m-d H:i:s");380 $ÖÜ´Î = returnCurWeekIndex($ÆÀ±ÈÈÕÆÚ);381 $µ±Ç°Ñ§ÆÚ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");382 $sql = "select °à¼¶Ãû³Æ from edu_banji where ±Ïҵʱ¼ä>='".date('Y-m-d')."'";383 $rs = $db->CacheExecute(150,$sql);384 $rs_a = $rs->GetArray();385 for($i=0;$i<sizeof($rs_a);$i++) {386 $°à¼¶Ãû³Æ = $rs_a[$i]['°à¼¶Ãû³Æ'];387 $sql = "select COUNT(*) AS NUM from edu_banjiweishengday where °à¼¶='$°à¼¶Ãû³Æ' and ÈÕÆÚ='$ÆÀ±ÈÈÕÆÚ'";388 $rs = $db->Execute($sql);389 $NUM = $rs->fields['NUM'];390 if($NUM==0) {391 $sql = "INSERT INTO edu_banjiweishengday VALUES ('','$µ±Ç°Ñ§ÆÚ','$°à¼¶Ãû³Æ', '$ÆÀ±ÈÈÕÆÚ','$ÖÜ´Î','$ÐÇÆÚ','$ÆÀ¼ÛÈË','$ÎÀÉú·ÖÊý','$ÎÀÉú¿Û·ÖÔ­Òò','$¼ÍÂÉ·ÖÊý','$¼ÍÂÉ¿Û·ÖÔ­Òò','$´´½¨Ê±¼ä','".$_SESSION['LOGIN_USER_ID']."')";392 $rs = $db->Execute($sql);393 //print $sql."<BR>";394 }395 }396 }//ÐÇÆÚ==5397}//±àºÅ ѧÆÚ ËÞÉáÂ¥ ·¿¼äÃû³Æ ÆÀ±ÈÈÕÆÚ ÖÜ´Î ÐÇÆÚ ÆÀ¼ÛÈË ÎÀÉú·ÖÊý ÎÀÉú¿Û·ÖÔ­Òò ¼ÍÂÉ·ÖÊý ¼ÍÂÉ¿Û·ÖÔ­Òò ´´½¨Ê±¼ä398399400function ͬ²½ËÞÉá·¿¼äÐÅÏ¢µ½Ã¿ÌìÆÀ±ÈÒ³Ãæ($ÆÀ±ÈÈÕÆÚ='') {401 global $db;402 if($ÆÀ±ÈÈÕÆÚ=='') $ÆÀ±ÈÈÕÆÚ = date("Y-m-d");403 $ÐÇÆÚ = ·µ»Ø¸ø¶¨Ê±¼äµÄÐÇÆÚÐÅÏ¢($ÆÀ±ÈÈÕÆÚ);404 if($ÐÇÆÚ>=1&&$ÐÇÆÚ<=5) {405 $´´½¨Ê±¼ä = date("Y-m-d H:i:s");406 $ÖÜ´Î = returnCurWeekIndex($ÆÀ±ÈÈÕÆÚ);407 $µ±Ç°Ñ§ÆÚ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");408 $sql = "select ·¿¼äÃû³Æ,ËÞÉáÂ¥ from dorm_room order by ·¿¼äÃû³Æ";409 $rs = $db->CacheExecute(150,$sql);410 $rs_a = $rs->GetArray();411 for($i=0;$i<sizeof($rs_a);$i++) {412 $·¿¼äÃû³Æ = $rs_a[$i]['·¿¼äÃû³Æ'];413 $ËÞÉáÂ¥ = $rs_a[$i]['ËÞÉáÂ¥'];414 $sql = "select COUNT(*) AS NUM from edu_susheweishengday where ·¿¼äÃû³Æ='$·¿¼äÃû³Æ' and ÆÀ±ÈÈÕÆÚ='$ÆÀ±ÈÈÕÆÚ'";415 $rs = $db->Execute($sql);416 $NUM = $rs->fields['NUM'];417 if($NUM==0) {418 $sql = "INSERT INTO `edu_susheweishengday` VALUES ('','$µ±Ç°Ñ§ÆÚ','$ËÞÉáÂ¥', '$·¿¼äÃû³Æ', '$ÆÀ±ÈÈÕÆÚ','$ÖÜ´Î','$ÐÇÆÚ','$ÆÀ¼ÛÈË','$ÎÀÉú·ÖÊý','$ÎÀÉú¿Û·ÖÔ­Òò','$¼ÍÂÉ·ÖÊý','$¼ÍÂÉ¿Û·ÖÔ­Òò','$´´½¨Ê±¼ä','".$_SESSION['LOGIN_USER_ID']."','','','')";419 $rs = $db->Execute($sql);420 //print $sql."<BR>";421 }422 }423 }//ÐÇÆÚ==5424}//±àºÅ ѧÆÚ ËÞÉáÂ¥ ·¿¼äÃû³Æ ÆÀ±ÈÈÕÆÚ ÖÜ´Î ÐÇÆÚ ÆÀ¼ÛÈË ÎÀÉú·ÖÊý ÎÀÉú¿Û·ÖÔ­Òò ¼ÍÂÉ·ÖÊý ¼ÍÂÉ¿Û·ÖÔ­Òò ´´½¨Ê±¼ä425426427//´¦Àí°à¼¶Ãû³Æ¸ú¼¶±ðµÄ²»¶ÔÓ¦Çé¿ö428function ´¦Àí°à¼¶Ãû³Æ¸ú¼¶±ðµÄ²»¶ÔÓ¦Çé¿ö() {429 global $db,$_GET;430 $sql = "select distinct °à¼¶ from edu_exam,edu_banji where edu_exam.°à¼¶=edu_banji.°à¼¶Ãû³Æ and edu_exam.¼¶±ð!=edu_banji.ÈëѧÄê·Ý";431 $rs = $db->Execute($sql);432 $rs_a = $rs->GetArray();433 for($i=0;$i<sizeof($rs_a);$i++) {434 $°à¼¶ = $rs_a[$i]['°à¼¶'];435 $¼¶±ð = returntablefield("edu_banji","°à¼¶Ãû³Æ",$°à¼¶,"ÈëѧÄê·Ý");436 $sql = "update edu_exam set ¼¶±ð='$¼¶±ð' where °à¼¶='$°à¼¶'";437 $db->Execute($sql);438 print $sql."<BR>";439 }440}441442//ͬ²½½Ìѧ¼Æ»®Ñ§·ÖÐÅÏ¢µ½³É¼¨Êý¾Ý±íÖ®ÖÐ443function ͬ²½½Ìѧ¼Æ»®Ñ§·ÖÐÅÏ¢µ½³É¼¨Êý¾Ý±íÖ®ÖÐ() {444 global $db,$_GET;445 $sql = "select °à¼¶Ãû³Æ,¿ª¿Î½Ìʦ,½ÌʦÓû§Ãû,¿ª¿ÎѧÆÚ,¿Î³ÌÃû³Æ,ÖÜѧʱ,ѧ·Ö from edu_planexec where ¿ª¿ÎѧÆÚ='".$_GET['ѧÆÚÃû³Æ']."' and ѧ·Ö>0";446 //print_R($_GET);447 //print $sql."<BR>";448 $rs = $db->Execute($sql);449 $rs_a = $rs->GetArray();450 for($i=0;$i<sizeof($rs_a);$i++) {451 $¿Î³ÌÃû³Æ = $rs_a[$i]['¿Î³ÌÃû³Æ'];452 $½ÌʦÓû§Ãû = $rs_a[$i]['½ÌʦÓû§Ãû'];453 $¿ª¿Î½Ìʦ = $rs_a[$i]['¿ª¿Î½Ìʦ'];454 $°à¼¶Ãû³Æ = $rs_a[$i]['°à¼¶Ãû³Æ'];455 $¿ª¿ÎѧÆÚ = $rs_a[$i]['¿ª¿ÎѧÆÚ'];456 $ѧ·Ö = $rs_a[$i]['ѧ·Ö'];457 $sql = "";458 if($¿ª¿Î½Ìʦ!="") {459 $sql = "update edu_exam set ѧ·Ö='$ѧ·Ö',½Ìʦ='$¿ª¿Î½Ìʦ' where ѧÆÚÃû³Æ='$¿ª¿ÎѧÆÚ' and °à¼¶='$°à¼¶Ãû³Æ' and ¿Î³Ì='$¿Î³ÌÃû³Æ' ";460 }461 else {462 $sql = "update edu_exam set ѧ·Ö='$ѧ·Ö' where ѧÆÚÃû³Æ='$¿ª¿ÎѧÆÚ' and °à¼¶='$°à¼¶Ãû³Æ' and ¿Î³Ì='$¿Î³ÌÃû³Æ' ";463 }464 $db->Execute($sql);465 //print $sql."<BR>";466 }467}468469470471//ͬ²½OAÓû§µ½½Ìʦ»ù±¾ÐÅÏ¢±í472function ͬ²½OAÓû§µ½½Ìʦ»ù±¾ÐÅÏ¢±í() {473 global $db,$_GET;474 $sql = "select * from user";475 //print_R($_GET);476 //print $sql."<BR>";477 $rs = $db->CacheExecute(150,$sql);478 $rs_a = $rs->GetArray();479 //print_R($rs_a);480 for($i=0;$i<sizeof($rs_a);$i++) {481 $USER_ID = $rs_a[$i]['USER_ID'];482 $USER_NAME = $rs_a[$i]['USER_NAME'];483 $BYNAME = $rs_a[$i]['BYNAME'];484 $TEL_NO_DEPT= $rs_a[$i]['TEL_NO_DEPT'];485 $DEPT_ID= $rs_a[$i]['DEPT_ID'];486 $DEPT_NAME = returntablefield("department","DEPT_ID",$DEPT_ID,"DEPT_NAME");487 if($BYNAME=="") $BYNAME = $USER_ID;488 $BIRTHDAY = $rs_a[$i]['BIRTHDAY'];489490 $sql = "select COUNT(*) AS NUM from edu_teachermanage where Óû§Ãû='$USER_ID'";491 $rs = $db->Execute($sql);492 if($rs->fields['NUM']==0) {493 $sql = "insert into edu_teachermanage (½Ìʦ±àºÅ,ÐÕÃû,Óû§Ãû,³öÉúÄêÔÂ,µç»°ºÅÂë,ËùÔÚ²¿ÃÅ,´´½¨ÈË,´´½¨Ê±¼ä,ÊÇ·ñÔÚ¸Ú)494 values('$BYNAME','$USER_NAME','$USER_ID','$BIRTHDAY','$TEL_NO_DEPT','$DEPT_NAME','".$_SESSION['LOGIN_USER_ID']."','".date('Y-m-d H:i:s')."','1')";495 $db->Execute($sql);496 //print $sql."<BR>";497 }498 }499}500501function ͬ²½½Ìʦ»ù±¾ÐÅÏ¢µ½OAÓû§±í(){502 global $db,$_GET;503 $sql = "select * from edu_teachermanage";504 //print_R($_GET);505 //print $sql."<BR>";exit;506 $rs = $db->CacheExecute(150,$sql);507 $rs_a = $rs->GetArray();508 //print_R($rs_a);509 for($i=0;$i<sizeof($rs_a);$i++) {510 $USER_ID = $rs_a[$i]['Óû§Ãû'];511 $USER_NAME = $rs_a[$i]['ÐÕÃû'];512 //$BYNAME = $rs_a[$i]['BYNAME'];513 //$TEL_NO_DEPT= $rs_a[$i]['TEL_NO_DEPT'];514 $DEPT_NAME = $rs_a[$i]['ËùÔÚ²¿ÃÅ'];515 $MOBIL_NO = $rs_a[$i]['µç»°ºÅÂë'];516 $DEPT_ID = returntablefield("department","DEPT_NAME",$DEPT_NAME,"DEPT_ID");517 //if($BYNAME=="") $BYNAME = $USER_ID;518 $BIRTHDAY = $rs_a[$i]['³öÉúÄêÔÂ'];519520 $sql = "select COUNT(*) AS NUM from user where USER_ID='$USER_ID'";521 $rs = $db->Execute($sql);522 //echo $rs->fields['NUM'];523 if($rs->fields['NUM']==0) {524 $sql = "insert into user (UID,USER_ID,USER_NAME,BIRTHDAY,MOBIL_NO,DEPT_ID)525 values('','$USER_ID','$USER_NAME','$BIRTHDAY','$MOBIL_NO','$DEPT_ID')";526 //echo $sql;exit;527 $db->Execute($sql);528 //print $sql."<BR>";529 }530 }531}532533534//ͬ²½½Ìѧ¼Æ»®ÀïÃæµÄ°à¼¶ÈËÊýÐÅÏ¢535function ͬ²½½Ìѧ¼Æ»®ÀïÃæµÄ°à¼¶ÈËÊýÐÅÏ¢($ѧÆÚÃû³Æ) {536 global $db,$CurXueQi;537 $sql = "select distinct °à¼¶Ãû³Æ from edu_planexec where ¿ª¿ÎѧÆÚ='$ѧÆÚÃû³Æ'";538 //print "<BR>ͬ²½½Ìѧ¼Æ»®ÀïÃæµÄ°à¼¶ÈËÊýÐÅÏ¢:".$sql."<BR>";539 $rs = $db->Execute($sql);540 $rs_a = $rs->GetArray();541 $NewArray = array();542 for($i=0;$i<sizeof($rs_a);$i++) {543 $°à¼¶ = $rs_a[$i]['°à¼¶Ãû³Æ'];544 $°à¼¶ÈËÊý = returnClassNumber($°à¼¶);545 $sql = "update edu_planexec set °à¼¶ÈËÊý='$°à¼¶ÈËÊý' where °à¼¶Ãû³Æ='$°à¼¶'";546 $db->Execute($sql);547 global $SHOWTEXT; if($SHOWTEXT)print "<BR>ͬ²½½Ìѧ¼Æ»®ÀïÃæµÄ°à¼¶ÈËÊýÐÅÏ¢:".$sql."<BR>";548 }549}550551552function רҵTOÊý×é() {553 global $db;554 if($_GET['ϵ´úÂë']!="") {555 $ADDSQL = "where ËùÊôϵ in ('".ereg_replace(",","','",$_GET['ϵ´úÂë'])."')";556 }557 else if($_GET['רҵÃû³Æ']!="") {558 $ADDSQL = "where רҵÃû³Æ in ('".ereg_replace(",","','",$_GET['רҵÃû³Æ'])."')";559 }560 else {561 $ADDSQL = "";562 }563 $sql = "select ±àºÅ,רҵÃû³Æ,רҵ´úÂë,ËùÊôϵ from edu_zhuanye $ADDSQL order by ËùÊôϵ,רҵ´úÂë";564 //print $sql;565 $rs = $db->CacheExecute(150,$sql);566 $rs_a = $rs->GetArray();567 $NewArray = array();568 for($i=0;$i<sizeof($rs_a);$i++) {569 $רҵ´úÂë±àºÅ = $rs_a[$i]['±àºÅ'];570 $רҵÃû³Æ = $rs_a[$i]['רҵÃû³Æ'];571 $רҵ´úÂë = $rs_a[$i]['רҵ´úÂë'];572 $ËùÊôϵ = $rs_a[$i]['ËùÊôϵ'];573 $NewArray['ALL'][$ËùÊôϵ][$רҵ´úÂë±àºÅ] = $רҵÃû³Æ;574 //$NewArray['DEPT'][$רҵ´úÂë] = $רҵÃû³Æ;575 //$NewArray['FANXU'][$רҵ´úÂë] = $ËùÊôϵ;576 $NewArray['DEPT'][$רҵ´úÂë±àºÅ] = $רҵÃû³Æ;577 $NewArray['FANXU'][$רҵ´úÂë±àºÅ] = $ËùÊôϵ;578 //$NewArray['DEPT'][$ËùÊôϵ][$רҵ´úÂë] = $רҵÃû³Æ;579 //$NewArray['FANXU'][$ËùÊôϵ][$רҵ´úÂë] = $ËùÊôϵ;580 }581 return $NewArray;582}583584function ϵTOÊý×é() {585 global $db;586 if($_GET['ϵ´úÂë']!="") {587 $ADDSQL = "where ϵ´úÂë in ('".ereg_replace(",","','",$_GET['ϵ´úÂë'])."')";588 }589 else {590 $ADDSQL = "";591 }592 $sql = "select ϵÃû³Æ,ϵ´úÂë from edu_xi $ADDSQL order by ϵ´úÂë";593 $rs = $db->CacheExecute(150,$sql);594 $rs_a = $rs->GetArray();595 $NewArray = array();596 for($i=0;$i<sizeof($rs_a);$i++) {597 $ϵÃû³Æ = $rs_a[$i]['ϵÃû³Æ'];598 $ϵ´úÂë = $rs_a[$i]['ϵ´úÂë'];599 $NewArray[$ϵ´úÂë] = $ϵÃû³Æ;600 }601 //print_R($ADDSQL);602 return $NewArray;603}604605function µÃµ½µ±Ç°Óû§Ëù¹ÜÀíµÄרҵÃû³ÆÐÅÏ¢($רҵÃû³ÆX="רҵÃû³Æ") {606 global $db,$_GET,$_SESSION,$_GETȨÏÞÏÞÖƱäÁ¿Öµ;607 $LOGIN_USER_ID = $_SESSION['LOGIN_USER_ID'];608 $sql = "select ϵ´úÂë,ϵÃû³Æ from edu_xi where ¸ºÔðÈËÐÕÃû like '%".$LOGIN_USER_ID.",%'";609 $rs = $db->CacheExecute(15,$sql);610 $rs_a = $rs->GetArray();611 $ϵ´úÂë = array();612 for($i=0;$i<sizeof($rs_a);$i=$i+1) {613 $ϵ´úÂë[] = $rs_a[$i]['ϵ´úÂë'];614 $ϵÃû³Æ[] = $rs_a[$i]['ϵÃû³Æ'];615 }616 $ϵ´úÂëÎı¾ = "'".@join("','",$ϵ´úÂë)."'";617 $ϵÃû³ÆÎı¾ = @join(",",$ϵÃû³Æ);618 if($ϵÃû³ÆÎı¾!="") {619 $_GET['רҵ¿Æ'] = $ϵÃû³ÆÎı¾;620 }621622 $sql = "select רҵÃû³Æ from edu_zhuanye where ËùÊôϵ in ($ϵ´úÂëÎı¾)";623 $rs = $db->CacheExecute(15,$sql);624 $rs_a = $rs->GetArray();625 $רҵÃû³Æ = array();626 for($i=0;$i<sizeof($rs_a);$i=$i+1) {627 $רҵÃû³Æ[] = $rs_a[$i]['רҵÃû³Æ'];628 }629630 //½øÐÐGET¸³Öµ,2010-9-25¶¨Òå631 //Èç¹ûGETµÄÖµÖ»ÓÐÒ»¸ö,ÔòÑØÓÃGETµÄÖµ,Èç¹ûGETµÄֵΪÁ½¸ö¼°ÒÔÉÏ,ÔòÓÃϵͳֵ632 $GET²ÎÊýÖµ = explode(',',$_GET[$רҵÃû³ÆX]);633 //print_R($רҵÃû³Æ);634 if($GET²ÎÊýÖµ[0]!=''&&$GET²ÎÊýÖµ[1]=='') {635 //±íʾGETÖµÖ»ÓÐÒ»¸ö636 }637 else {638 //GETֵΪ¿Õ,»òÊÇΪ¶à¸öʱ,Ôò½øÐÐϵͳȨÏÞÖض¨Òå639 $_GET[$רҵÃû³ÆX] = @join(",",$רҵÃû³Æ);640 }641 $_GETȨÏÞÏÞÖƱäÁ¿Öµ[$רҵÃû³ÆX] = @join(",",$רҵÃû³Æ);642643}644645function ÐÞ¸Äʱͬ²½ËÞÉáÂ¥Ãû³ÆÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {646 global $_GET,$_POST,$db;647 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {648 return '';649 }650 $sql = "update dorm_liusu set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";651 $db->Execute($sql);652 $sql = "update dorm_room set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";653 $db->Execute($sql);654 $sql = "update dorm_rooming set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";655 $db->Execute($sql);656 $sql = "update edu_louzhangguanli set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";657 $db->Execute($sql);658 $sql = "update edu_susheweisheng set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";659 $db->Execute($sql);660 $sql = "update edu_susheweishengday set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";661 $db->Execute($sql);662 $sql = "update edu_wanguixinxi set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";663 $db->Execute($sql);664 $sql = "update edu_weizhangxinxi set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";665 $db->Execute($sql);666 $sql = "update edu_wenmingsushe set ËÞÉáÂ¥='$ÐÂÖµ' where ËÞÉáÂ¥='$¾ÉÖµ'";667 $db->Execute($sql);668669}670671672function ÐÞ¸Äʱͬ²½·¿¼äÃû³ÆÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {673 global $_GET,$_POST,$db;674 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {675 return '';676 }677 $sql = "update edu_susheweisheng set ·¿¼äÃû³Æ='$ÐÂÖµ' where ·¿¼äÃû³Æ='$¾ÉÖµ'";678 $db->Execute($sql);679 $sql = "update edu_susheweishengday set ·¿¼äÃû³Æ='$ÐÂÖµ' where ·¿¼äÃû³Æ='$¾ÉÖµ'";680 $db->Execute($sql);681 $sql = "update edu_wanguixinxi set ·¿¼äÃû³Æ='$ÐÂÖµ' where ·¿¼äÃû³Æ='$¾ÉÖµ'";682 $db->Execute($sql);683 $sql = "update edu_weizhangxinxi set ·¿¼äÃû³Æ='$ÐÂÖµ' where ·¿¼äÃû³Æ='$¾ÉÖµ'";684 $db->Execute($sql);685 $sql = "update edu_wenmingsushe set ·¿¼äÃû³Æ='$ÐÂÖµ' where ·¿¼äÃû³Æ='$¾ÉÖµ'";686 $db->Execute($sql);687 $sql = "update dorm_rooming set ·¿¼äºÅ='$ÐÂÖµ' where ·¿¼äºÅ='$¾ÉÖµ'";688 $db->Execute($sql);689 $sql = "update dorm_repeating set ±¨ÐÞ·¿¼äºÅ='$ÐÂÖµ' where ±¨ÐÞ·¿¼äºÅ='$¾ÉÖµ'";690 $db->Execute($sql);691 $sql = "update dorm_liusu set ·¿¼äºÅ='$ÐÂÖµ' where ·¿¼äºÅ='$¾ÉÖµ'";692 $db->Execute($sql);693 $sql = "update dorm_changelog set з¿¼äºÅ='$ÐÂÖµ' where з¿¼äºÅ='$¾ÉÖµ'";694 $db->Execute($sql);695 $sql = "update dorm_changelog set Ô­·¿¼äºÅ='$ÐÂÖµ' where Ô­·¿¼äºÅ='$¾ÉÖµ'";696 $db->Execute($sql);697}698699700function ÐÞ¸Äʱͬ²½¿Î³ÌÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {701 global $_GET,$_POST,$db;702 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {703 return '';704 }705706 //$sql = "update edu_course set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";707 //$db->Execute($sql);708 $sql = "update edu_exam set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";709 $db->Execute($sql);710 $sql = "update edu_jiaoxueriji2 set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";711 $db->Execute($sql);712 $sql = "update edu_jiaoxuerijibudeng set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";713 $db->Execute($sql);714 $sql = "update edu_kecheng set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";715 $db->Execute($sql);716 $sql = "update edu_kechengshenqing set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";717 $db->Execute($sql);718 $sql = "update edu_kechoujisuan set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";719 $db->Execute($sql);720 $sql = "update edu_kewaifudao set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";721 $db->Execute($sql);722 $sql = "update edu_pingjiamingxi set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";723 $db->Execute($sql);724 $sql = "update edu_plan set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";725 $db->Execute($sql);726 $sql = "update edu_planexec set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";727 $db->Execute($sql);728 $sql = "update edu_planexec set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";729 $db->Execute($sql);730 $sql = "update edu_schedule set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";731 $db->Execute($sql);732 $sql = "update edu_schedule2 set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";733 $db->Execute($sql);734 $sql = "update edu_scheduledaike set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";735 $db->Execute($sql);736 $sql = "update edu_schedulefenduanjiaoxue set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";737 $db->Execute($sql);738 $sql = "update edu_scheduletiaoke set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";739 $db->Execute($sql);740 $sql = "update edu_scheduletingkefuke set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";741 $db->Execute($sql);742 $sql = "update edu_studentcardkaoqinmingxi set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";743 $db->Execute($sql);744 $sql = "update edu_studentkaoqin set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";745 $db->Execute($sql);746 $sql = "update edu_teacherkaoqinbudeng set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";747 $db->Execute($sql);748 $sql = "update edu_teacherkaoqinmingxi set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";749 $db->Execute($sql);750 $sql = "update edu_tingke set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";751 $db->Execute($sql);752 $sql = "update edu_tingke_kaoqinbudeng set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";753 $db->Execute($sql);754 $sql = "update paikao_automation set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";755 $db->Execute($sql);756 $sql = "update paikao_banjikemu set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";757 $db->Execute($sql);758 //$sql = "update remote_course set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";759 //$db->Execute($sql);760 //$sql = "update remote_courseapply set ¿Î³ÌÃû³Æ='$ÐÂÖµ' where ¿Î³ÌÃû³Æ='$¾ÉÖµ'";761 //$db->Execute($sql);762 $sql = "update school_homeworkupload set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";763 $db->Execute($sql);764 //$sql = "update tiku_chengji set ¿Î³Ì='$ÐÂÖµ' where ¿Î³Ì='$¾ÉÖµ'";765 //$db->Execute($sql);766}767function ÐÞ¸Äʱͬ²½½ÌÊÒÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {768 global $_GET,$_POST,$db;769 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {770 return '';771 }772 //$sql = "update edu_classroom set ½ÌÊÒÃû³Æ='$ÐÂÖµ' where ½ÌÊÒÃû³Æ='$¾ÉÖµ'";773 //$db->Execute($sql);774 $sql = "update edu_classroomapply set ½ÌÊÒÃû³Æ='$ÐÂÖµ' where ½ÌÊÒÃû³Æ='$¾ÉÖµ'";775 $db->Execute($sql);776 $sql = "update edu_jiaoxuerijibudeng set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";777 $db->Execute($sql);778 $sql = "update edu_schedule set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";779 $db->Execute($sql);780 $sql = "update edu_schedule2 set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";781 $db->Execute($sql);782 $sql = "update edu_scheduledaike set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";783 $db->Execute($sql);784 $sql = "update edu_schedulefenduanjiaoxue set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";785 $db->Execute($sql);786 $sql = "update edu_scheduletiaoke set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";787 $db->Execute($sql);788 $sql = "update edu_scheduletiaokexianghu set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";789 $db->Execute($sql);790 $sql = "update edu_scheduletingkefuke set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";791 $db->Execute($sql);792 $sql = "update edu_studentcardkaoqinmingxi set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";793 $db->Execute($sql);794 $sql = "update edu_teacherkaoqinbudeng set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";795 $db->Execute($sql);796 $sql = "update edu_teacherkaoqinmingxi set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";797 $db->Execute($sql);798 $sql = "update edu_tingke set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";799 $db->Execute($sql);800 $sql = "update edu_tingke_kaoqinbudeng set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";801 $db->Execute($sql);802 $sql = "update edu_zuoweixinxi set ½ÌÊÒÃû³Æ='$ÐÂÖµ' where ½ÌÊÒÃû³Æ='$¾ÉÖµ'";803 $db->Execute($sql);804 $sql = "update paikao_jiaoshi set ½ÌÊÒ='$ÐÂÖµ' where ½ÌÊÒ='$¾ÉÖµ'";805 $db->Execute($sql);806}807function ÐÞ¸Äʱͬ²½°à¼¶Êý¾Ý($ÐÂÖµ,$¾ÉÖµ) {808 global $_GET,$_POST,$db;809 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {810 return '';811 }812813 $sql = "update dorm_changelog set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";814 $db->Execute($sql);815 $sql = "update dorm_liusu set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";816 $db->Execute($sql);817 $sql = "update dorm_rooming set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";818 $db->Execute($sql);819 //$sql = "update edu_banji set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";820 //$db->Execute($sql);821 $sql = "update edu_banjirizhi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";822 $db->Execute($sql);823 $sql = "update edu_banjizhouji set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";824 $db->Execute($sql);825 $sql = "update edu_biyejianding set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";826 $db->Execute($sql);827 $sql = "update edu_biyezheng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";828 $db->Execute($sql);829 $sql = "update edu_diaochamingxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";830 $db->Execute($sql);831 $sql = "update edu_dierketangbaoming set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";832 $db->Execute($sql);833 $sql = "update edu_evaluateclass set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";834 $db->Execute($sql);835 $sql = "update edu_evaluatepersonal set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";836 $db->Execute($sql);837 $sql = "update edu_exam set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";838 $db->Execute($sql);839 $sql = "update edu_grad set °àºÅ='$ÐÂÖµ' where °àºÅ='$¾ÉÖµ'";840 $db->Execute($sql);841 $sql = "update edu_guanmingbaoban set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";842 $db->Execute($sql);843 $sql = "update edu_jiafang set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";844 $db->Execute($sql);845 $sql = "update edu_jiangxuejin set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";846 $db->Execute($sql);847 $sql = "update edu_jiaoxueriji2 set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";848 $db->Execute($sql);849 $sql = "update edu_jiaoxuerijibudeng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";850 $db->Execute($sql);851 $sql = "update edu_kechoujisuan set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";852 $db->Execute($sql);853 $sql = "update edu_kewaifudao set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";854 $db->Execute($sql);855 $sql = "update edu_leaguemember set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";856 $db->Execute($sql);857 $sql = "update edu_louzhangguanli set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";858 $db->Execute($sql);859 $sql = "update edu_newstudent set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";860 $db->Execute($sql);861 $sql = "update edu_partymember set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";862 $db->Execute($sql);863 $sql = "update edu_partymember2 set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";864 $db->Execute($sql);865 $sql = "update edu_pingbizidingyi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";866 $db->Execute($sql);867 $sql = "update edu_pingjiamingxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";868 $db->Execute($sql);869 $sql = "update edu_planexec set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";870 $db->Execute($sql);871 $sql = "update edu_planexec set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";872 $db->Execute($sql);873 $sql = "update edu_qimopingyu set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";874 $db->Execute($sql);875 $sql = "update edu_schedule set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";876 $db->Execute($sql);877 $sql = "update edu_schedule2 set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";878 $db->Execute($sql);879 $sql = "update edu_scheduledaike set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";880 $db->Execute($sql);881 $sql = "update edu_schedulefenduanjiaoxue set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";882 $db->Execute($sql);883 $sql = "update edu_scheduletiaoke set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";884 $db->Execute($sql);885 $sql = "update edu_scheduletiaokexianghu set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";886 $db->Execute($sql);887 $sql = "update edu_scheduletingkefuke set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";888 $db->Execute($sql);889 $sql = "update edu_schooljingcheng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";890 $db->Execute($sql);891 $sql = "update edu_shenghuobuzhu set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";892 $db->Execute($sql);893 $sql = "update edu_shixishenqing set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";894 $db->Execute($sql);895 $sql = "update edu_shoufeidan set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";896 $db->Execute($sql);897 $sql = "update edu_shoufeidanprint set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";898 $db->Execute($sql);899 $sql = "update edu_shoufeidanxuanjiaofei set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";900 $db->Execute($sql);901 $sql = "update edu_studentfafang set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";902 $db->Execute($sql);903 $sql = "update edu_piaojufafang set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";904 $db->Execute($sql);905 $sql = "update edu_smsrecord set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";906 $db->Execute($sql);907 $sql = "update edu_student set °àºÅ='$ÐÂÖµ' where °àºÅ='$¾ÉÖµ'";908 $db->Execute($sql);909 $sql = "update edu_studentcardkaoqinmingxi set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";910 $db->Execute($sql);911 $sql = "update edu_studentchange set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";912 $db->Execute($sql);913 $sql = "update edu_studentcourse set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";914 $db->Execute($sql);915 $sql = "update edu_studentjiangcheng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";916 $db->Execute($sql);917 $sql = "update edu_studentjiesong set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";918 $db->Execute($sql);919 $sql = "update edu_studentjiuye set °àºÅ='$ÐÂÖµ' where °àºÅ='$¾ÉÖµ'";920 $db->Execute($sql);921 $sql = "update edu_studentkaoqin set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";922 $db->Execute($sql);923 $sql = "update edu_studentpingjiamingxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";924 $db->Execute($sql);925 $sql = "update edu_teacherkaoqinbudeng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";926 $db->Execute($sql);927 $sql = "update edu_teacherkaoqinmingxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";928 $db->Execute($sql);929 $sql = "update edu_tingke set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";930 $db->Execute($sql);931 $sql = "update edu_tingke_kaoqinbudeng set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";932 $db->Execute($sql);933 $sql = "update edu_tuibandengji set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";934 $db->Execute($sql);935 $sql = "update edu_tuifeidan set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";936 $db->Execute($sql);937 $sql = "update edu_tuijianjiuye set °àºÅ='$ÐÂÖµ' where °àºÅ='$¾ÉÖµ'";938 $db->Execute($sql);939 $sql = "update edu_uchome set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";940 $db->Execute($sql);941 $sql = "update edu_waichuzhufang set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";942 $db->Execute($sql);943 $sql = "update edu_wanguixinxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";944 $db->Execute($sql);945 $sql = "update edu_weijihuizong set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";946 $db->Execute($sql);947 $sql = "update edu_weizhangxinxi set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";948 $db->Execute($sql);949 $sql = "update edu_xiaoyou set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";950 $db->Execute($sql);951 $sql = "update edu_xiaoyoubanji set °à¼¶Ãû³Æ='$ÐÂÖµ' where °à¼¶Ãû³Æ='$¾ÉÖµ'";952 $db->Execute($sql);953 $sql = "update edu_youxiubiyesheng set °àºÅ='$ÐÂÖµ' where °àºÅ='$¾ÉÖµ'";954 $db->Execute($sql);955 $sql = "update edu_zhaopinshenqin set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";956 $db->Execute($sql);957 $sql = "update edu_zhengshuguanli set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";958 $db->Execute($sql);959960 $sql = "update paikao_automation set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";961 $db->Execute($sql);962 $sql = "update paikao_banjikemu set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";963 $db->Execute($sql);964 $sql = "update school_homeworkupload set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";965 $db->Execute($sql);966 //$sql = "update tiku_chengji set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";967 //$db->Execute($sql);968 //$sql = "update tiku_examdata set °à¼¶='$ÐÂÖµ' where °à¼¶='$¾ÉÖµ'";969 //$db->Execute($sql);970}971function ÐÞ¸Äʱͬ²½Ñ§ÆÚÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {972 global $_GET,$_POST,$db;973 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {974 return '';975 }976 $sql = "update dorm_liusu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";977 $db->Execute($sql);978 $sql = "update edu_banjirizhi set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";979 $db->Execute($sql);980 $sql = "update edu_banjizhouji set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";981 $db->Execute($sql);982 $sql = "update edu_banweiguanli set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";983 $db->Execute($sql);984 $sql = "update edu_classroomapply set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";985 $db->Execute($sql);986 $sql = "update edu_diaochamingcheng set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";987 $db->Execute($sql);988 $sql = "update edu_diaochamingxi set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";989 $db->Execute($sql);990 $sql = "update edu_diaochaneirong set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";991 $db->Execute($sql);992 $sql = "update edu_evaluateclass set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";993 $db->Execute($sql);994 $sql = "update edu_evaluatename set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";995 $db->Execute($sql);996 $sql = "update edu_evaluatepersonal set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";997 $db->Execute($sql);998 $sql = "update edu_exam set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";999 $db->Execute($sql);1000 $sql = "update edu_examname set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1001 $db->Execute($sql);1002 $sql = "update edu_growfiles set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1003 $db->Execute($sql);1004 $sql = "update edu_jiangxuejin set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1005 $db->Execute($sql);1006 $sql = "update edu_jiaoxueriji2 set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1007 $db->Execute($sql);1008 $sql = "update edu_kechoujiaofu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1009 $db->Execute($sql);1010 $sql = "update edu_kechoujisuan set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1011 $db->Execute($sql);1012 $sql = "update edu_kechouqita set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1013 $db->Execute($sql);1014 $sql = "update edu_pingbizidingyi set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1015 $db->Execute($sql);1016 $sql = "update edu_qimopingyu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1017 $db->Execute($sql);1018 $sql = "update edu_qingongjianxue set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1019 $db->Execute($sql);1020 $sql = "update edu_schedule set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1021 $db->Execute($sql);1022 $sql = "update edu_schedule2 set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1023 $db->Execute($sql);1024 $sql = "update edu_schedulechange set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1025 $db->Execute($sql);1026 $sql = "update edu_scheduledaike set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1027 $db->Execute($sql);1028 $sql = "update edu_schedulefenduanjiaoxue set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1029 $db->Execute($sql);1030 $sql = "update edu_scheduletiaoke set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1031 $db->Execute($sql);1032 $sql = "update edu_scheduletiaokexianghu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1033 $db->Execute($sql);1034 $sql = "update edu_scheduletingkefuke set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1035 $db->Execute($sql);1036 $sql = "update edu_schooljingcheng set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1037 $db->Execute($sql);1038 $sql = "update edu_shenghuobuzhu set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1039 $db->Execute($sql);1040 $sql = "update edu_shenghuobuzhutype set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1041 $db->Execute($sql);1042 $sql = "update edu_studentjiangcheng set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1043 $db->Execute($sql);1044 $sql = "update edu_studentkaoqin set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1045 $db->Execute($sql);1046 $sql = "update edu_teacher_yearcheck set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1047 $db->Execute($sql);1048 $sql = "update edu_teacherkaoqinmingxi set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1049 $db->Execute($sql);1050 $sql = "update edu_tingke set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1051 $db->Execute($sql);1052 $sql = "update edu_xingzheng_jiabanbuxiu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1053 $db->Execute($sql);1054 $sql = "update edu_xingzheng_kaoqinbudeng set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1055 $db->Execute($sql);1056 $sql = "update edu_xingzheng_kaoqinmingxi set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1057 $db->Execute($sql);1058 $sql = "update edu_xingzheng_paiban set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1059 $db->Execute($sql);1060 $sql = "update edu_xingzheng_qingjia set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1061 $db->Execute($sql);1062 $sql = "update edu_xingzheng_tiaoban set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1063 $db->Execute($sql);1064 $sql = "update edu_xingzheng_tiaobanxianghu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1065 $db->Execute($sql);1066 $sql = "update edu_xingzheng_tiaoxiububan set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1067 $db->Execute($sql);1068 $sql = "update edu_xingzheng_yearcheck set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1069 $db->Execute($sql);1070 //$sql = "update edu_xueqi set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1071 //$db->Execute($sql);1072 //$sql = "update edu_xueqiexec set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1073 //$db->Execute($sql);1074 $sql = "update edu_zhiban set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1075 $db->Execute($sql);1076 //$sql = "update hrms_salary set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1077 //$db->Execute($sql);1078 //$sql = "update hrms_salary_detail set ѧÆÚÃû³Æ='$ÐÂÖµ' where ѧÆÚÃû³Æ='$¾ÉÖµ'";1079 //$db->Execute($sql);1080 $sql = "update paikao_automation set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1081 $db->Execute($sql);1082 $sql = "update paikao_banjikemu set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1083 $db->Execute($sql);1084 $sql = "update edu_scheduleroles set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1085 $db->Execute($sql);1086 $sql = "update edu_xuanke_record set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1087 $db->Execute($sql);1088 $sql = "update ceping_mingcheng set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1089 $db->Execute($sql);1090 $sql = "update edu_jiaocaistudent set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1091 $db->Execute($sql);1092 $sql = "update edu_xueshengqingjia set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1093 $db->Execute($sql);1094 $sql = "update edu_jiafang set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1095 $db->Execute($sql);1096 $sql = "update edu_banfeiguanli set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1097 $db->Execute($sql);1098 $sql = "update edu_banjihuodong set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1099 $db->Execute($sql);1100 $sql = "update edu_susheweishengday set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1101 $db->Execute($sql);1102 $sql = "update edu_meizhoubeiwang set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1103 $db->Execute($sql);1104 $sql = "update edu_ketangjilvbanji set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1105 $db->Execute($sql);1106 $sql = "update edu_xuanke_jiaoxueban set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1107 $db->Execute($sql);1108 $sql = "update edu_xuanke_rule_allowchoose set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1109 $db->Execute($sql);1110 $sql = "update edu_xuanke_rule_general set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1111 $db->Execute($sql);1112 $sql = "update edu_xuanke_rule_notallowchoose set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1113 $db->Execute($sql);1114 $sql = "update edu_xuanke_rule_notallowcourse set ѧÆÚ='$ÐÂÖµ' where ѧÆÚ='$¾ÉÖµ'";1115 $db->Execute($sql);1116 $sql = "update edu_planexec set ¿ª¿ÎѧÆÚ='$ÐÂÖµ' where ¿ª¿ÎѧÆÚ='$¾ÉÖµ'";1117 $db->Execute($sql);11181119}1120function ÐÞ¸Äʱͬ²½×¨ÒµÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {1121 global $_GET,$_POST,$db;1122 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {1123 return '';1124 }11251126 $sql = "update dorm_changelog set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1127 $db->Execute($sql);1128 $sql = "update dorm_rooming set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1129 $db->Execute($sql);1130 $sql = "update edu_biyejianding set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1131 $db->Execute($sql);1132 $sql = "update edu_biyezheng set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1133 $db->Execute($sql);1134 $sql = "update edu_evaluateclass set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1135 $db->Execute($sql);1136 $sql = "update edu_evaluatepersonal set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1137 $db->Execute($sql);1138 $sql = "update edu_jiangxuejin set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1139 $db->Execute($sql);1140 $sql = "update edu_louzhangguanli set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1141 $db->Execute($sql);1142 $sql = "update edu_pingjiamingxi set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1143 $db->Execute($sql);1144 $sql = "update edu_plan set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1145 $db->Execute($sql);1146 $sql = "update edu_planexec set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1147 $db->Execute($sql);1148 $sql = "update edu_planexec set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1149 $db->Execute($sql);1150 $sql = "update edu_shenghuobuzhu set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1151 $db->Execute($sql);1152 $sql = "update edu_shoufeidan set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1153 $db->Execute($sql);1154 $sql = "update edu_shoufeidanprint set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1155 $db->Execute($sql);1156 $sql = "update edu_studentcourse set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1157 $db->Execute($sql);1158 $sql = "update edu_studentpingjiamingxi set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1159 $db->Execute($sql);1160 $sql = "update edu_tanhuajilu set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1161 $db->Execute($sql);1162 $sql = "update edu_tuifeidan set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1163 $db->Execute($sql);1164 $sql = "update edu_waichuzhufang set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1165 $db->Execute($sql);1166 $sql = "update edu_wanguixinxi set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1167 $db->Execute($sql);1168 $sql = "update edu_weizhangxinxi set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1169 $db->Execute($sql);1170 //$sql = "update edu_zhuanye set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1171 //$db->Execute($sql);1172 $sql = "update edu_zhuanyeshoufei set רҵÃû³Æ='$ÐÂÖµ' where רҵÃû³Æ='$¾ÉÖµ'";1173 $db->Execute($sql);1174 //$sql = "update hrms_educationalexperience set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1175 //$db->Execute($sql);1176 //$sql = "update hrms_file set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1177 //$db->Execute($sql);1178 //$sql = "update hrms_file_luyong set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1179 //$db->Execute($sql);1180 //$sql = "update hrms_zprencaiku set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1181 //$db->Execute($sql);11821183 $sql = "update paikao_automation set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1184 $db->Execute($sql);1185 $sql = "update paikao_banjikemu set רҵ='$ÐÂÖµ' where רҵ='$¾ÉÖµ'";1186 $db->Execute($sql);1187}1188function ÐÞ¸Äʱͬ²½ÏµÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {1189 global $_GET,$_POST,$db;1190 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {1191 return '';1192 }1193 $sql = "update edu_newstudent set רҵ¿Æ='$ÐÂÖµ' where רҵ¿Æ='$¾ÉÖµ'";1194 $db->Execute($sql);1195 $sql = "update edu_shoufeidan set ϵÃû³Æ='$ÐÂÖµ' where ϵÃû³Æ='$¾ÉÖµ'";1196 $db->Execute($sql);1197 $sql = "update edu_shoufeidanprint set ϵÃû³Æ='$ÐÂÖµ' where ϵÃû³Æ='$¾ÉÖµ'";1198 $db->Execute($sql);1199 $sql = "update edu_studentpingjiamingxi set ϵ='$ÐÂÖµ' where ϵ='$¾ÉÖµ'";1200 $db->Execute($sql);1201 $sql = "update edu_teacher_work_check_register set רҵ¿Æ='$ÐÂÖµ' where רҵ¿Æ='$¾ÉÖµ'";1202 $db->Execute($sql);1203 $sql = "update edu_teacher_yearcheck set רҵ¿Æ='$ÐÂÖµ' where רҵ¿Æ='$¾ÉÖµ'";1204 $db->Execute($sql);1205 $sql = "update edu_tuifeidan set ϵÃû³Æ='$ÐÂÖµ' where ϵÃû³Æ='$¾ÉÖµ'";1206 $db->Execute($sql);1207 //$sql = "update edu_xi set ϵÃû³Æ='$ÐÂÖµ' where ϵÃû³Æ='$¾ÉÖµ'";1208 //$db->Execute($sql);1209 //$sql = "update newedu_gerenchufen set ϵ='$ÐÂÖµ' where ϵ='$¾ÉÖµ'";1210 //$db->Execute($sql);1211}12121213function ÐÞ¸Äʱͬ²½ÐÕÃûÊý¾Ý($ѧºÅ,$ÐÕÃû) {1214 global $_GET,$_POST,$db;12151216 $sql = "update dorm_changelog set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1217 $db->Execute($sql);1218 $sql = "update dorm_liusu set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1219 $db->Execute($sql);1220 $sql = "update dorm_rooming set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1221 $db->Execute($sql);1222 $sql = "update edu_banfeiguanli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1223 $db->Execute($sql);1224 $sql = "update edu_banweiguanli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1225 $db->Execute($sql);1226 $sql = "update edu_biyejianding set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1227 $db->Execute($sql);1228 $sql = "update edu_biyezheng set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1229 $db->Execute($sql);1230 $sql = "update edu_diaochamingxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1231 $db->Execute($sql);1232 $sql = "update edu_dierketangbaoming set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1233 $db->Execute($sql);1234 $sql = "update edu_dierketangpingfen set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1235 $db->Execute($sql);1236 $sql = "update edu_evaluatepersonal set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1237 $db->Execute($sql);1238 $sql = "update edu_exam set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1239 $db->Execute($sql);1240 $sql = "update edu_grad set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1241 $db->Execute($sql);1242 $sql = "update edu_jiafang set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1243 $db->Execute($sql);1244 $sql = "update edu_jiangxuejin set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1245 $db->Execute($sql);1246 $sql = "update edu_kechengshenqing set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1247 $db->Execute($sql);1248 $sql = "update edu_kewaifudao set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1249 $db->Execute($sql);1250 //$sql = "update edu_leaguefee set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1251 //$db->Execute($sql);1252 $sql = "update edu_leaguemember set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1253 $db->Execute($sql);1254 $sql = "update edu_louzhangguanli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1255 $db->Execute($sql);1256 //$sql = "update edu_partyfee set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1257 //$db->Execute($sql);1258 $sql = "update edu_partymember set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1259 $db->Execute($sql);1260 $sql = "update edu_partymember2 set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1261 $db->Execute($sql);1262 $sql = "update edu_passwordlog set ÐÕÃû='$ÐÕÃû' where ±àºÅ='$ѧºÅ'";1263 $db->Execute($sql);1264 $sql = "update edu_passwordlog2 set ÐÕÃû='$ÐÕÃû' where ±àºÅ='$ѧºÅ'";1265 $db->Execute($sql);1266 $sql = "update edu_pingjiamingxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1267 $db->Execute($sql);1268 $sql = "update edu_qimopingyu set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1269 $db->Execute($sql);1270 $sql = "update edu_qingongjianxue set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1271 $db->Execute($sql);1272 $sql = "update edu_shenghuobuzhu set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1273 $db->Execute($sql);1274 $sql = "update edu_shixishenqing set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1275 $db->Execute($sql);1276 $sql = "update edu_shoufeidan set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1277 $db->Execute($sql);1278 $sql = "update edu_shoufeidanprint set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1279 $db->Execute($sql);1280 $sql = "update edu_shoufeidanxuanjiaofei set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1281 $db->Execute($sql);1282 $sql = "update edu_studentfafang set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1283 $db->Execute($sql);1284 $sql = "update edu_piaojufafang set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1285 $db->Execute($sql);1286 //$sql = "update edu_smsfetion set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1287 //$db->Execute($sql);1288 $sql = "update edu_smsrecord set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1289 $db->Execute($sql);1290 $sql = "update edu_stubad set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1291 $db->Execute($sql);1292 //$sql = "update edu_student set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1293 //$db->Execute($sql);1294 $sql = "update edu_studentcardkaoqin set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1295 $db->Execute($sql);1296 $sql = "update edu_studentcardkaoqinmingxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1297 $db->Execute($sql);1298 $sql = "update edu_studentchange set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1299 $db->Execute($sql);1300 $sql = "update edu_studentcourse set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1301 $db->Execute($sql);1302 $sql = "update edu_studentflow set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1303 $db->Execute($sql);1304 $sql = "update edu_studentjiangcheng set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1305 $db->Execute($sql);1306 $sql = "update edu_studentjiesong set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1307 $db->Execute($sql);1308 $sql = "update edu_studentjiuye set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1309 $db->Execute($sql);1310 $sql = "update edu_studentkaoqin set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1311 $db->Execute($sql);1312 $sql = "update edu_studentpingjiamingxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1313 $db->Execute($sql);1314 $sql = "update edu_tanhuajilu set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1315 $db->Execute($sql);1316 //$sql = "update edu_teacher set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1317 //$db->Execute($sql);1318 //$sql = "update edu_teacher_partyfee set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1319 //$db->Execute($sql);1320 //$sql = "update edu_teacher_partymember set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1321 //$db->Execute($sql);1322 //$sql = "update edu_teacher_partymember2 set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1323 //$db->Execute($sql);1324 //$sql = "update edu_teacher_work_check_register set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1325 //$db->Execute($sql);1326 //$sql = "update edu_teacherjingli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1327 //$db->Execute($sql);1328 //$sql = "update edu_teachermanage set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1329 //$db->Execute($sql);1330 //$sql = "update edu_teacherxuexijingli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1331 //$db->Execute($sql);1332 $sql = "update edu_tuibandengji set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1333 $db->Execute($sql);1334 $sql = "update edu_tuifeidan set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1335 $db->Execute($sql);1336 $sql = "update edu_tuijianjiuye set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1337 $db->Execute($sql);1338 $sql = "update edu_uchome set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1339 $db->Execute($sql);1340 $sql = "update edu_waichuzhufang set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1341 $db->Execute($sql);1342 $sql = "update edu_wanguixinxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1343 $db->Execute($sql);1344 $sql = "update edu_weijihuizong set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1345 $db->Execute($sql);1346 $sql = "update edu_weizhangxinxi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1347 $db->Execute($sql);1348 $sql = "update edu_xiaoyou set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1349 $db->Execute($sql);1350 //$sql = "update edu_xingzheng_work_check_register set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1351 //$db->Execute($sql);1352 //$sql = "update edu_xingzheng_yearcheck set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1353 //$db->Execute($sql);1354 $sql = "update edu_youxiubiyesheng set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1355 $db->Execute($sql);1356 $sql = "update edu_zhaopinshenqin set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1357 $db->Execute($sql);1358 $sql = "update edu_zhengshuguanli set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1359 $db->Execute($sql);1360 $sql = "update edu_zuoweixinxi set ѧÉúÐÕÃû='$ÐÕÃû' where ѧÉúѧºÅ='$ѧºÅ'";1361 $db->Execute($sql);1362 //$sql = "update hrms_educationalexperience set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1363 //$db->Execute($sql);1364 //$sql = "update hrms_expense set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1365 //$db->Execute($sql);1366 //$sql = "update hrms_file set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1367 //$db->Execute($sql);1368 //$sql = "update hrms_file_fuzhi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1369 //$db->Execute($sql);1370 //$sql = "update hrms_file_lizhi set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1371 //$db->Execute($sql);1372 //$sql = "update hrms_file_luyong set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1373 //$db->Execute($sql);1374 //$sql = "update hrms_laboringskill set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1375 //$db->Execute($sql);1376 //$sql = "update hrms_reward_punishment set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1377 //$db->Execute($sql);1378 //$sql = "update hrms_salary_tongji set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1379 //$db->Execute($sql);1380 //$sql = "update hrms_socialrelation set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1381 //$db->Execute($sql);1382 //$sql = "update hrms_transfer set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1383 //$db->Execute($sql);1384 //$sql = "update hrms_worker_hetong set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1385 //$db->Execute($sql);1386 //$sql = "update hrms_worker_zhengzhao set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1387 //$db->Execute($sql);1388 //$sql = "update hrms_worker_zhicheng set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1389 //$db->Execute($sql);1390 //$sql = "update hrms_workexperience set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1391 //$db->Execute($sql);1392 //$sql = "update hrms_zprencaiku set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1393 //$db->Execute($sql);1394 //$sql = "update remote_courseapply set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1395 //$db->Execute($sql);1396 $sql = "update school_homeworkupload set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1397 $db->Execute($sql);1398 //$sql = "update tiku_chengji set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1399 //$db->Execute($sql);1400 //$sql = "update tiku_examdata set ÐÕÃû='$ÐÕÃû' where ѧºÅ='$ѧºÅ'";1401 //$db->Execute($sql);1402 //exit;1403}14041405function ÐÞ¸Äʱͬ²½Ñ§ºÅÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {1406 global $_GET,$_POST,$db;1407 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {1408 return '';1409 }14101411 $sql = "update dorm_changelog set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1412 $db->Execute($sql);1413 $sql = "update dorm_liusu set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1414 $db->Execute($sql);1415 $sql = "update dorm_rooming set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1416 $db->Execute($sql);1417 $sql = "update edu_banfeiguanli set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1418 $db->Execute($sql);1419 $sql = "update edu_banweiguanli set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1420 $db->Execute($sql);1421 $sql = "update edu_biyejianding set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1422 $db->Execute($sql);1423 $sql = "update edu_biyezheng set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1424 $db->Execute($sql);1425 $sql = "update edu_diaochamingxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1426 $db->Execute($sql);1427 $sql = "update edu_dierketangbaoming set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1428 $db->Execute($sql);1429 $sql = "update edu_dierketangpingfen set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1430 $db->Execute($sql);1431 $sql = "update edu_evaluatepersonal set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1432 $db->Execute($sql);1433 $sql = "update edu_exam set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1434 $db->Execute($sql);1435 $sql = "update edu_grad set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1436 $db->Execute($sql);1437 $sql = "update edu_growfiles set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1438 $db->Execute($sql);1439 $sql = "update edu_jiafang set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1440 $db->Execute($sql);1441 $sql = "update edu_jiangxuejin set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1442 $db->Execute($sql);1443 $sql = "update edu_kechengshenqing set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1444 $db->Execute($sql);1445 $sql = "update edu_kewaifudao set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1446 $db->Execute($sql);1447 $sql = "update edu_leaguemember set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1448 $db->Execute($sql);1449 $sql = "update edu_louzhangguanli set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1450 $db->Execute($sql);1451 $sql = "update edu_newstudent set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1452 $db->Execute($sql);1453 $sql = "update edu_partymember set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1454 $db->Execute($sql);1455 $sql = "update edu_partymember2 set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1456 $db->Execute($sql);1457 $sql = "update edu_pingjiamingxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1458 $db->Execute($sql);1459 $sql = "update edu_qimopingyu set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1460 $db->Execute($sql);1461 $sql = "update edu_qingongjianxue set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1462 $db->Execute($sql);1463 $sql = "update edu_shenghuobuzhu set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1464 $db->Execute($sql);1465 $sql = "update edu_shixishenqing set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1466 $db->Execute($sql);1467 $sql = "update edu_shoufeidan set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1468 $db->Execute($sql);1469 //print $sql;1470 $sql = "update edu_shoufeidanprint set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1471 $db->Execute($sql);1472 $sql = "update edu_shoufeidanxuanjiaofei set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1473 $db->Execute($sql);1474 $sql = "update edu_studentfafang set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1475 $db->Execute($sql);1476 $sql = "update edu_piaojufafang set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1477 $db->Execute($sql);1478 $sql = "update edu_smsrecord set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1479 $db->Execute($sql);1480 $sql = "update edu_stubad set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1481 $db->Execute($sql);1482 //$sql = "update edu_student set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1483 //$db->Execute($sql);1484 $sql = "update edu_studentcardkaoqin set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1485 $db->Execute($sql);1486 $sql = "update edu_studentcardkaoqinmingxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1487 $db->Execute($sql);1488 $sql = "update edu_studentchange set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1489 $db->Execute($sql);1490 $sql = "update edu_studentcourse set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1491 $db->Execute($sql);1492 $sql = "update edu_studentflow set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1493 $db->Execute($sql);1494 $sql = "update edu_studentjiangcheng set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1495 $db->Execute($sql);1496 $sql = "update edu_studentjiesong set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1497 $db->Execute($sql);1498 $sql = "update edu_studentjiuye set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1499 $db->Execute($sql);1500 $sql = "update edu_studentkaoqin set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1501 $db->Execute($sql);1502 $sql = "update edu_studentpingjiamingxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1503 $db->Execute($sql);1504 $sql = "update edu_stulog set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1505 $db->Execute($sql);1506 $sql = "update edu_tanhuajilu set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1507 $db->Execute($sql);1508 $sql = "update edu_tuibandengji set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1509 $db->Execute($sql);1510 $sql = "update edu_tuifeidan set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1511 $db->Execute($sql);1512 $sql = "update edu_tuijianjiuye set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1513 $db->Execute($sql);1514 $sql = "update edu_uchome set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1515 $db->Execute($sql);1516 $sql = "update edu_waichuzhufang set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1517 $db->Execute($sql);1518 $sql = "update edu_wanguixinxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1519 $db->Execute($sql);1520 $sql = "update edu_weijihuizong set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1521 $db->Execute($sql);1522 $sql = "update edu_weizhangxinxi set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1523 $db->Execute($sql);1524 $sql = "update edu_xiaoyou set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1525 $db->Execute($sql);1526 $sql = "update edu_youxiubiyesheng set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1527 $db->Execute($sql);1528 $sql = "update edu_zhaopinshenqin set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1529 $db->Execute($sql);1530 $sql = "update edu_zhengshuguanli set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1531 $db->Execute($sql);1532 $sql = "update edu_zuoweixinxi set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1533 $db->Execute($sql);15341535 $sql = "update school_homeworkupload set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1536 $db->Execute($sql);15371538 //$sql = "update tiku_chengji set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1539 //$db->Execute($sql);1540 //$sql = "update tiku_examdata set ѧºÅ='$ÐÂÖµ' where ѧºÅ='$¾ÉÖµ'";1541 //$db->Execute($sql);1542 //$sql = "update wygl_baoxiuxinxi set ѧÉúѧºÅ='$ÐÂÖµ' where ѧÉúѧºÅ='$¾ÉÖµ'";1543 //$db->Execute($sql);1544 //print $sql;exit;1545 //print "<font color=green>".$sql."</font><BR>";1546}154715481549//ʹÓÃ"ͬ²½Ñ§Éúת°à¶ø´øÀ´µÄ°à¼¶ÐÅÏ¢±ä»¯"º¯Êý1550/*1551function ÐÞ¸Äʱͬ²½Ñ§ÉúµÄ°à¼¶Ãû³ÆÊý¾Ý($ѧºÅ,$°à¼¶Ãû³Æ) {1552 global $_GET,$_POST,$db;1553 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {1554 return '';1555 }15561557 $sql = "update dorm_changelog set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1558 $db->Execute($sql);1559 $sql = "update dorm_liusu set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1560 $db->Execute($sql);1561 $sql = "update dorm_rooming set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1562 $db->Execute($sql);1563 $sql = "update edu_banfeiguanli set ËùÊô°à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1564 $db->Execute($sql);1565 $sql = "update edu_banweiguanli set ËùÊô°à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1566 $db->Execute($sql);1567 $sql = "update edu_biyejianding set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1568 $db->Execute($sql);1569 $sql = "update edu_biyezheng set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1570 $db->Execute($sql);1571 $sql = "update edu_diaochamingxi set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1572 $db->Execute($sql);1573 $sql = "update edu_dierketangbaoming set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1574 $db->Execute($sql);1575 //$sql = "update edu_dierketangpingfen set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1576 //$db->Execute($sql);1577 $sql = "update edu_evaluatepersonal set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1578 $db->Execute($sql);1579 $sql = "update edu_exam set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1580 $db->Execute($sql);1581 $sql = "update edu_grad set °àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1582 $db->Execute($sql);1583 $sql = "update edu_growfiles set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1584 $db->Execute($sql);1585 $sql = "update edu_jiafang set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1586 $db->Execute($sql);1587 $sql = "update edu_jiangxuejin set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1588 $db->Execute($sql);1589 //$sql = "update edu_kechengshenqing set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1590 //$db->Execute($sql);1591 $sql = "update edu_kewaifudao set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1592 $db->Execute($sql);1593 $sql = "update edu_leaguemember set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1594 $db->Execute($sql);1595 $sql = "update edu_louzhangguanli set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1596 $db->Execute($sql);1597 //$sql = "update edu_newstudent set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1598 //$db->Execute($sql);1599 $sql = "update edu_partymember set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1600 $db->Execute($sql);1601 $sql = "update edu_partymember2 set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1602 $db->Execute($sql);1603 $sql = "update edu_pingjiamingxi set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1604 $db->Execute($sql);1605 $sql = "update edu_qimopingyu set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1606 $db->Execute($sql);1607 $sql = "update edu_qingongjianxue set ѧÉú°à¼¶='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1608 $db->Execute($sql);1609 $sql = "update edu_shenghuobuzhu set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1610 $db->Execute($sql);1611 $sql = "update edu_shixishenqing set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1612 $db->Execute($sql);1613 $sql = "update edu_shoufeidan set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1614 $db->Execute($sql);1615 $sql = "update edu_shoufeidanprint set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1616 $db->Execute($sql);1617 $sql = "update edu_smsrecord set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1618 $db->Execute($sql);1619 $sql = "update edu_stubad set Ô­°àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1620 $db->Execute($sql);1621 $sql = "update edu_student set °àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1622 $db->Execute($sql);1623 //$sql = "update edu_studentcardkaoqin set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1624 //$db->Execute($sql);1625 $sql = "update edu_studentcardkaoqinmingxi set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1626 $db->Execute($sql);1627 $sql = "update edu_studentchange set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1628 $db->Execute($sql);1629 $sql = "update edu_studentcourse set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1630 $db->Execute($sql);1631 //$sql = "update edu_studentflow set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1632 //$db->Execute($sql);1633 $sql = "update edu_studentjiangcheng set °à¼¶='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1634 $db->Execute($sql);1635 $sql = "update edu_studentjiesong set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1636 $db->Execute($sql);1637 $sql = "update edu_studentjiuye set °àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1638 $db->Execute($sql);1639 $sql = "update edu_studentkaoqin set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1640 $db->Execute($sql);1641 $sql = "update edu_studentpingjiamingxi set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1642 $db->Execute($sql);1643 //$sql = "update edu_stulog set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1644 //$db->Execute($sql);1645 $sql = "update edu_tanhuajilu set ËùÊô°à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1646 $db->Execute($sql);1647 $sql = "update edu_tuibandengji set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1648 $db->Execute($sql);1649 $sql = "update edu_tuifeidan set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1650 $db->Execute($sql);1651 $sql = "update edu_tuijianjiuye set °àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1652 $db->Execute($sql);1653 $sql = "update edu_uchome set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1654 $db->Execute($sql);1655 $sql = "update edu_waichuzhufang set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1656 $db->Execute($sql);1657 $sql = "update edu_wanguixinxi set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1658 $db->Execute($sql);1659 $sql = "update edu_weijihuizong set °à¼¶Ãû³Æ='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1660 $db->Execute($sql);1661 $sql = "update edu_weizhangxinxi set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1662 $db->Execute($sql);1663 $sql = "update edu_xiaoyou set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1664 $db->Execute($sql);1665 $sql = "update edu_youxiubiyesheng set °àºÅ='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1666 $db->Execute($sql);1667 $sql = "update edu_zhaopinshenqin set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1668 $db->Execute($sql);1669 $sql = "update edu_zhengshuguanli set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1670 $db->Execute($sql);1671 $sql = "update edu_zuoweixinxi set ËùÊô°à¼¶='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1672 $db->Execute($sql);16731674 $sql = "update school_homeworkupload set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1675 $db->Execute($sql);1676 $sql = "update tiku_chengji set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1677 $db->Execute($sql);1678 $sql = "update tiku_examdata set °à¼¶='$°à¼¶Ãû³Æ' where ѧºÅ='$ѧºÅ'";1679 $db->Execute($sql);1680 //$sql = "update wygl_baoxiuxinxi set ѧÉú°à¼¶='$°à¼¶Ãû³Æ' where ѧÉúѧºÅ='$ѧºÅ'";1681 //$db->Execute($sql);1682}1683*/16841685function ÐÞ¸Äʱͬ²½½Ì²ÄÊý¾Ý($ÐÂÖµ,$¾ÉÖµ) {1686 global $_GET,$_POST,$db;1687 if($ÐÂÖµ==$¾ÉÖµ||$ÐÂÖµ=='') {1688 return '';1689 }1690 //$sql = "update edu_jiaocai set ½Ì²ÄÃû³Æ='$ÐÂÖµ' where ½Ì²ÄÃû³Æ='$¾ÉÖµ'";1691 //$db->Execute($sql);1692 $sql = "update edu_jiaocaiin set ½Ì²ÄÃû³Æ='$ÐÂÖµ' where ½Ì²ÄÃû³Æ='$¾ÉÖµ'";1693 $db->Execute($sql);1694 $sql = "update edu_jiaocaiout set ½Ì²ÄÃû³Æ='$ÐÂÖµ' where ½Ì²ÄÃû³Æ='$¾ÉÖµ'";1695 $db->Execute($sql);1696 $sql = "update edu_jiaocaitiaoku set ½Ì²ÄÃû³Æ='$ÐÂÖµ' where ½Ì²ÄÃû³Æ='$¾ÉÖµ'";1697 $db->Execute($sql);1698 $sql = "update edu_jiaocaitui set ½Ì²ÄÃû³Æ='$ÐÂÖµ' where ½Ì²ÄÃû³Æ='$¾ÉÖµ'";1699 $db->Execute($sql);1700}17011702function ͬ²½Ñ§Éúת°à¶ø´øÀ´µÄ°à¼¶ÐÅÏ¢±ä»¯($ѧºÅ,$а༶) {1703 global $db;17041705 $Ô­°à¼¶ = returntablefield("edu_student","ѧºÅ",$ѧºÅ,"°àºÅ");1706 if($Ô­°à¼¶==$а༶) {1707 //print $Ô­°à¼¶.$а༶;exit;1708 return true;1709 }1710 else {1711 //¼ÌÐøÖ´ÐÐ1712 }17131714 $´¦Àí±í[] = array("dorm_changelog","°à¼¶","ѧºÅ");1715 $´¦Àí±í[] = array("dorm_liusu","°à¼¶","ѧºÅ");1716 $´¦Àí±í[] = array("dorm_rooming","°à¼¶","ѧºÅ");1717 $´¦Àí±í[] = array("edu_banfeiguanli","ËùÊô°à¼¶","ѧºÅ");1718 $´¦Àí±í[] = array("edu_banweiguanli","ËùÊô°à¼¶","ѧºÅ");1719 $´¦Àí±í[] = array("edu_biyejianding","°à¼¶","ѧºÅ");1720 $´¦Àí±í[] = array("edu_biyezheng","°à¼¶","ѧºÅ");1721 $´¦Àí±í[] = array("edu_diaochamingxi","°à¼¶","ѧºÅ");1722 $´¦Àí±í[] = array("edu_dierketangbaoming","°à¼¶Ãû³Æ","ѧÉúѧºÅ");1723 $´¦Àí±í[] = array("edu_evaluatepersonal","°à¼¶","ѧºÅ");1724 $´¦Àí±í[] = array("edu_exam","°à¼¶","ѧºÅ");1725 $´¦Àí±í[] = array("edu_grad","°àºÅ","ѧºÅ");1726 $´¦Àí±í[] = array("edu_jiafang","°à¼¶","ѧºÅ");1727 $´¦Àí±í[] = array("edu_jiangxuejin","°à¼¶","ѧºÅ");1728 $´¦Àí±í[] = array("edu_kewaifudao","°à¼¶","ѧºÅ");1729 $´¦Àí±í[] = array("edu_leaguemember","°à¼¶","ѧºÅ");1730 $´¦Àí±í[] = array("edu_louzhangguanli","°à¼¶","ѧºÅ");1731 $´¦Àí±í[] = array("edu_partymember","°à¼¶","ѧºÅ");1732 $´¦Àí±í[] = array("edu_partymember2","°à¼¶","ѧºÅ");1733 $´¦Àí±í[] = array("edu_pingjiamingxi","°à¼¶","ѧºÅ");1734 $´¦Àí±í[] = array("edu_qimopingyu","°à¼¶","ѧºÅ");1735 $´¦Àí±í[] = array("edu_qingongjianxue","ѧÉú°à¼¶","ѧÉúѧºÅ");1736 $´¦Àí±í[] = array("edu_shenghuobuzhu","°à¼¶","ѧºÅ");1737 $´¦Àí±í[] = array("edu_shixishenqing","°à¼¶","ѧºÅ");1738 $´¦Àí±í[] = array("edu_shoufeidan","°à¼¶","ѧºÅ");1739 $´¦Àí±í[] = array("edu_shoufeidanprint","°à¼¶","ѧºÅ");1740 $´¦Àí±í[] = array("edu_smsrecord","°à¼¶","ѧºÅ");1741 $´¦Àí±í[] = array("edu_studentcardkaoqinmingxi","°à¼¶Ãû³Æ","ѧºÅ");1742 $´¦Àí±í[] = array("edu_studentcourse","°à¼¶Ãû³Æ","ѧºÅ");1743 $´¦Àí±í[] = array("edu_studentjiangcheng","°à¼¶","ѧÉúѧºÅ");1744 $´¦Àí±í[] = array("edu_studentjiesong","°à¼¶Ãû³Æ","ѧºÅ");1745 $´¦Àí±í[] = array("edu_studentjiuye","°àºÅ","ѧºÅ");1746 $´¦Àí±í[] = array("edu_studentkaoqin","°à¼¶Ãû³Æ","ѧºÅ");1747 $´¦Àí±í[] = array("edu_shoufeidan","°à¼¶","ѧºÅ");1748 $´¦Àí±í[] = array("edu_studentpingjiamingxi","°à¼¶","ѧºÅ");1749 $´¦Àí±í[] = array("edu_tanhuajilu","ËùÊô°à¼¶","ѧºÅ");1750 $´¦Àí±í[] = array("edu_tuibandengji","°à¼¶Ãû³Æ","ѧºÅ");1751 $´¦Àí±í[] = array("edu_tuifeidan","°à¼¶Ãû³Æ","ѧºÅ");1752 $´¦Àí±í[] = array("edu_tuijianjiuye","°àºÅ","ѧºÅ");1753 $´¦Àí±í[] = array("edu_uchome","°à¼¶","ѧºÅ");1754 $´¦Àí±í[] = array("edu_waichuzhufang","°à¼¶","ѧºÅ");1755 $´¦Àí±í[] = array("edu_wanguixinxi","°à¼¶","ѧºÅ");1756 $´¦Àí±í[] = array("edu_weijihuizong","°à¼¶Ãû³Æ","ѧÉúѧºÅ");1757 $´¦Àí±í[] = array("edu_weizhangxinxi","°à¼¶","ѧºÅ");1758 $´¦Àí±í[] = array("edu_xiaoyou","°à¼¶","ѧºÅ");1759 $´¦Àí±í[] = array("edu_youxiubiyesheng","°àºÅ","ѧºÅ");1760 $´¦Àí±í[] = array("edu_zhaopinshenqin","°à¼¶","ѧºÅ");1761 $´¦Àí±í[] = array("edu_zhengshuguanli","°à¼¶","ѧºÅ");1762 $´¦Àí±í[] = array("edu_zuoweixinxi","ËùÊô°à¼¶","ѧÉúѧºÅ");1763 $´¦Àí±í[] = array("edu_piaojufafang","°à¼¶","ѧºÅ");1764 $´¦Àí±í[] = array("edu_studentfafang","°à¼¶","ѧºÅ");17651766 for($i=0;$i<sizeof($´¦Àí±í);$i=$i+1) {1767 $Element = $´¦Àí±í[$i];1768 $sql = "update ".$Element[0]." set ".$Element[1]."='$а༶' where ".$Element[2]."='$ѧºÅ'";1769 $db->Execute($sql);1770 //print $sql."<BR>";1771 }17721773 //¸½´ø¸üÐÂÏÂרҵ¼°ÏµÐÅÏ¢17741775 $sql = "update edu_shoufeidan set ϵÃû³Æ='$ϵÃû³Æ',רҵ='$רҵ' where ѧºÅ='$ѧºÅ'";1776 $db->Execute($sql);1777 $sql = "update edu_shoufeidanprint set ϵÃû³Æ='$ϵÃû³Æ',רҵ='$רҵ' where ѧºÅ='$ѧºÅ'";1778 $db->Execute($sql);1779 $sql = "update edu_studentpingjiamingxi set ϵ='$ϵÃû³Æ',רҵ='$רҵ' where ѧºÅ='$ѧºÅ'";1780 $db->Execute($sql);1781 $sql = "update edu_tuifeidan set ϵÃû³Æ='$ϵÃû³Æ',רҵÃû³Æ='$רҵ' where ѧºÅ='$ѧºÅ'";1782 $db->Execute($sql);17831784 //exit;1785}17861787function ¸ù¾Ý°à¼¶Éú³ÉѧºÅ($°àºÅ) {1788 global $db;17891790 //×Ô¶¯Éú³ÉѧºÅ1791 //$sql = "select max(ѧºÅ) as ×î´óѧºÅ from edu_student where °àºÅ='".$°àºÅ."'";1792 //$rss = $db->Execute($sql);1793 //$×î´óѧºÅ1 = $rss->fields['×î´óѧºÅ'];17941795 //$sql = "select max(ѧºÅ) as ×î´óѧºÅ from edu_newstudent where °à¼¶='".$°àºÅ."'";1796 //$rss = $db->Execute($sql);1797 //$×î´óѧºÅ2 = $rss->fields['×î´óѧºÅ'];17981799 $sql = "SELECT length(ѧºÅ) AS NUM,ѧºÅ FROM edu_student WHERE °àºÅ='".$°àºÅ."' ORDER BY NUM DESC,ѧºÅ DESC LIMIT 0,1";1800 $rs = $db->Execute($sql);1801 $×î´óѧºÅ1 = $rs->fields['ѧºÅ'];180218031804 $sql = "SELECT length(ѧºÅ) AS NUM,ѧºÅ FROM edu_newstudent WHERE °à¼¶='".$°àºÅ."' ORDER BY NUM DESC,ѧºÅ DESC LIMIT 0,1";1805 $rs = $db->Execute($sql);1806 $×î´óѧºÅ2 = $rs->fields['ѧºÅ'];18071808 if($×î´óѧºÅ1>$×î´óѧºÅ2) {1809 $×î´óѧºÅ = $×î´óѧºÅ1;1810 }1811 else {1812 $×î´óѧºÅ = $×î´óѧºÅ2;1813 }1814 //print $×î´óѧºÅ."<BR>";1815 if($×î´óѧºÅ=="") {1816 $ѧºÅ = returntablefield("edu_banji","°à¼¶Ãû³Æ",$°àºÅ,"°à¼¶´úÂë")."01";1817 }1818 else {1819 $ѧºÅ = ѧºÅ¸ñʽ»¯($×î´óѧºÅ);1820 }1821 //Ñ­»·100´Î,Èç¹ûµ±Ç°Ñ§ºÅ´æÔÚ,ÔòÖ´ÐÐѧºÅ¸ñʽ»¯²Ù×÷(×Ô¶¯+1),È»ºóÔÙÖ´ÐÐ,Èç¹û²»´æÔÚ,ÔòÌø³öFORÑ­»·.1822 for($i=0;$i<100;$i++) {1823 $ÖмäѧºÅ = returntablefield("edu_student","ѧºÅ",$ѧºÅ,"ѧºÅ","","",0);1824 //print $ѧºÅ."||$ÖмäѧºÅ<BR>";1825 if($ÖмäѧºÅ!="") {1826 //Ö´ÐÐ+11827 $ѧºÅ = ѧºÅ¸ñʽ»¯($ÖмäѧºÅ);1828 continue;1829 }1830 }1831 //print $ѧºÅ;exit;1832 return $ѧºÅ;1833}183418351836function ¸ù¾Ý°à¼¶Éú³ÉѧÉúÐòºÅ($°àºÅ='') {1837 global $db;1838 //·µ»ØÒ»¸ö¹Ì¶¨µÄÖµ,È»ºóÔÙÔÚedu_studentÀïÃæÓñàºÅÀ´Ìæ»»Õâ¸ö¹Ì¶¨µÄÖµ1839 //$sql = "update edu_student set ѧºÅ=±àºÅ where ѧºÅ='XH'";1840 //$db->Execute($sql);1841 return 'XH';1842}184318441845function ѧºÅ¸ñʽ»¯($×î´óѧºÅ) {1846 $ѧºÅºó׺ = (int)substr($×î´óѧºÅ,-3);1847 $ѧºÅºó׺ += 1;1848 if(strlen($ѧºÅºó׺)=="1") {1849 $ѧºÅºó׺ = "00".$ѧºÅºó׺;1850 }1851 elseif(strlen($ѧºÅºó׺)=="2") {1852 $ѧºÅºó׺ = "0".$ѧºÅºó׺;1853 }1854 elseif(strlen($ѧºÅºó׺)=="3") {1855 $ѧºÅºó׺ = $ѧºÅºó׺;1856 }1857 $×î´óѧºÅ = substr($×î´óѧºÅ,0,-3).$ѧºÅºó׺;1858 //print $×î´óѧºÅ;1859 return $×î´óѧºÅ;1860}186118621863//´¦Àí³É¼¨±íÖÐ,ĬÈϽÌʦΪ¿ÕÇé¿öÏÂÃæµÄ½Ìʦ¶ÔÓ¦¹Øϵ1864function DoDealExamTeacherDataInfor() {1865 global $db,$SCHOOL_MODEL_TEXT;1866 $µ±Ç°Ñ§ÆÚ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");1867 $sql = "select * from edu_exam where ½Ìʦ=''";1868 $rs = $db->Execute($sql);1869 $rs_a = $rs->GetArray();18701871 for($i=0;$i<sizeof($rs_a);$i++) {1872 $¿Î³Ì = $rs_a[$i]['¿Î³Ì'];1873 $°à¼¶ = $rs_a[$i]['°à¼¶'];1874 $±àºÅ = $rs_a[$i]['±àºÅ'];1875 $¿Î³Ì = $rs_a[$i]['¿Î³Ì'];1876 $ÈëѧÄê·Ý = returntablefield("edu_banji","°à¼¶Ãû³Æ",$°à¼¶,"ÈëѧÄê·Ý");1877 $returnCurXueQiIndex = returnCurXueQiIndex($ÈëѧÄê·Ý);1878 if($SCHOOL_MODEL_TEXT=="4") {1879 $sql = "select ¿ª¿Î½Ìʦ from edu_planexec where °à¼¶Ãû³Æ='$°à¼¶' and ¿ª¿ÎѧÆÚ='$returnCurXueQiIndex' and ¿Î³ÌÃû³Æ='$¿Î³Ì'";1880 }1881 else {1882 $sql = "select ¿ª¿Î½Ìʦ from edu_planexec where °à¼¶Ãû³Æ='$°à¼¶' and ¿ª¿ÎѧÆÚ='$returnCurXueQiIndex' and ¿Î³ÌÃû³Æ='$¿Î³Ì'";1883 }1884 //print $sql."<BR>";1885 $rsX = $db->Execute($sql);1886 $¿ª¿Î½Ìʦ = $rsX->fields['¿ª¿Î½Ìʦ'];1887 if($¿ª¿Î½Ìʦ!="") {1888 $sql = "update edu_exam set ½Ìʦ='$¿ª¿Î½Ìʦ' where ±àºÅ='$±àºÅ' ";1889 $db->Execute($sql);1890 //print $sql."<BR>";1891 }1892 }189318941895}18961897//·µ»ØÊý×éµÄÃû´ÎÐÅÏ¢1898function returnArrayMingCi($Result='') {1899 //ÅÅÃûÐÅÏ¢1900 $ArrayValues = @array_values($Result);1901 $NewSortArrayValues = array();1902 for($i=0;$i<sizeof($ArrayValues);$i++) {1903 $Values = $ArrayValues[$i];1904 if(!in_array($Values,$NewSortArrayValues)) {1905 $NewSortArray[$Values] = $i+1;1906 array_push($NewSortArrayValues,$Values);1907 }1908 }1909 //print_R($NewSortArray);1910 return $NewSortArray;1911}19121913//·µ»Ø¸ø¶¨Ê±¼äµÄÐÇÆÚÐÅÏ¢1914function ·µ»Ø¸ø¶¨Ê±¼äµÄÐÇÆÚÐÅÏ¢($Target='') {1915 global $db;1916 if($Target=="") $Target = date("Y-m-d");1917 $TargetArray = explode('-',$Target);1918 $w = date('w',mktime(2,1,1,$TargetArray[1],$TargetArray[2],$TargetArray[0]));1919 return $w;1920}1921//·µ»Ø¸ø¶¨Ê±¼äµÄÖÜ´ÎÐÅÏ¢1922function returnCurWeekIndex($Target='',$ѧÆÚÃû³Æ='') {1923 global $db;19241925 if($ѧÆÚÃû³Æ=='') {1926 $sql = "select ½áÊøʱ¼ä,¿ªÊ¼Ê±¼ä from edu_xueqiexec where µ±Ç°Ñ§ÆÚ='1'";1927 }1928 else {1929 $sql = "select ½áÊøʱ¼ä,¿ªÊ¼Ê±¼ä from edu_xueqiexec where ѧÆÚÃû³Æ='$ѧÆÚÃû³Æ'";1930 }1931 $rs = $db->Execute($sql);1932 $rs_a = $rs->GetArray();1933 $¿ªÊ¼Ê±¼ä = $rs_a[0]['¿ªÊ¼Ê±¼ä'];1934 $¿ªÊ¼Ê±¼äArray = explode('-',$¿ªÊ¼Ê±¼ä);1935 if($Target=="0000-00-00") return '1';1936 if($Target=="") $Target = date("Y-m-d");193719381939 $TargetArray = explode('-',$Target);1940 /*1941 $M1 = mktime(1,1,1,$¿ªÊ¼Ê±¼äArray[1],$¿ªÊ¼Ê±¼äArray[2],$¿ªÊ¼Ê±¼äArray[0]);1942 $M2 = mktime(1,1,1,$TargetArray[1],$TargetArray[2],$TargetArray[0]);1943 $ʱ¼äÏß²îÖµ = $M2-$M1;1944 $ÖÜÊý = $ʱ¼äÏß²îÖµ/(3600*24*7);1945 $ÖÜÊý = ceil($ÖÜÊý);1946 return $ÖÜÊý;1947 */19481949 $W1 = date('W',mktime(2,1,1,$¿ªÊ¼Ê±¼äArray[1],$¿ªÊ¼Ê±¼äArray[2],$¿ªÊ¼Ê±¼äArray[0]));1950 $W2 = date('W',mktime(2,1,1,$TargetArray[1],$TargetArray[2],$TargetArray[0]));1951 $W = $W2-$W1+1;1952 $Äê¶ÈÊý = $TargetArray[0];1953 //print_R($TargetArray);1954 //print $Äê¶ÈÊý;1955 //print_R($¿ªÊ¼Ê±¼äArray);1956 //print "ÉÏÄê¶ÈÖÜÊý-".$ÉÏÄê¶ÈÖÜÊý."<BR>";1957 //print "W-".$W."<BR>";1958 //print "W1-".$W1."<BR>";1959 //print "W2-".$W2."".date('W',mktime(2,1,1,1,1,2010))."<BR>";1960 $ÉÏÄê¶ÈÖÜÊý = date('W',mktime(1,1,1,12,31,$Äê¶ÈÊý-1));1961 //print "W-".$W."<BR>";1962 if($W<0) {1963 //print $Target;1964 $W = $ÉÏÄê¶ÈÖÜÊý-$W1+$W2+1;1965 //ÉÏÄê¶È×ÜÖÜ´Î - ¿ªÑ§Ê±¼äÖÜ´Î + µ±Ç°Ê±¼äÖÜ´Î +11966 //print "W2-".$W2."".date('W',mktime(2,1,1,1,1,2010))."<BR>";1967 //print "W-".$W."<BR>";1968 //exit;1969 }1970 return $W;1971}19721973//¸ù¾Ý°à¼¶ÐÅÏ¢µÃµ½ËùÓа༶µÄ¼¶±ðÐÅÏ¢Áбí1974function returnBanjiJiBieList() {1975 global $db;1976 $sql = "select distinct ÈëѧÄê·Ý from edu_banji order by ÈëѧÄê·Ý desc";1977 $rs = $db->CacheExecute(36,$sql);1978 $rs_a = $rs->GetArray();1979 for($i=0;$i<sizeof($rs_a);$i++) {1980 $NewArray[] = $rs_a[$i]['ÈëѧÄê·Ý'];1981 }1982 return $NewArray;1983}198419851986//¸ù¾Ý°à¼¶Ãû³ÆºÍµ±Ç°Ñ§ÆÚÔÚ½Ìѧ¼Æ»®Öеõ½¿Î³ÌÃû³ÆÁбí1987function returnBanjiCourseList($ClassCode,$returnCurXueQiIndex,$¿¼ÊÔÃû³Æ='') {1988 global $db,$SCHOOL_MODEL_TEXT;1989 //print $SCHOOL_MODEL_TEXT;1990 if($¿¼ÊÔÃû³Æ=="") {1991 if($returnCurXueQiIndex=="") {1992 $¿ª¿ÎѧÆÚ = $returnCurXueQiIndex;1993 }1994 else {1995 $¿ª¿ÎѧÆÚ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");1996 }1997 $sql = "select distinct ¿Î³ÌÃû³Æ from edu_planexec where °à¼¶Ãû³Æ='$ClassCode' and ¿ª¿ÎѧÆÚ='$¿ª¿ÎѧÆÚ' and ¿Î³ÌÃû³Æ!=''";1998 }1999 else {2000 //´Ó¿¼ÊԳɼ¨±íÀïÃæµÃµ½Ñ§ÆÚÃû³Æ2001 $sql = "select ѧÆÚÃû³Æ from edu_examname where ¿¼ÊÔÃû³Æ='$¿¼ÊÔÃû³Æ'";2002 $rs = $db->CacheExecute(150,$sql);2003 $rs_a = $rs->GetArray();2004 $ѧÆÚÃû³Æ = $rs_a[0]['ѧÆÚÃû³Æ'];2005 $¼¶±ð = returntablefield("edu_banji","°à¼¶Ãû³Æ",$ClassCode,"ÈëѧÄê·Ý");2006 //$returnCurXueQiIndex = returnCurXueQiIndex($¼¶±ð,$ѧÆÚÃû³Æ);2007 $sql = "select distinct ¿Î³ÌÃû³Æ from edu_planexec where ¿ª¿ÎѧÆÚ='$ѧÆÚÃû³Æ' and °à¼¶Ãû³Æ='$ClassCode' and ¿Î³ÌÃû³Æ!='' order by ¿Î³ÌÃû³Æ";2008 }2009 //print $sql;//exit;20102011 $rs = $db->CacheExecute(150,$sql);2012 $rs_am = $rs->GetArray();2013 /*2014 $¿Î³ÌÃû³ÆArray1 = array();2015 for($i=0;$i<count($rs_am);$i++) {2016 $¿Î³ÌÃû³Æ = $rs_am[$i]['¿Î³ÌÃû³Æ'];2017 $¿Î³ÌÃû³ÆArray1[] = $¿Î³ÌÃû³Æ;2018 $¿Î³ÌÃû³ÆArray2[$¿Î³ÌÃû³Æ] = $¿Î³ÌÃû³Æ;2019 }2020 */2021 /*2022 if($¿¼ÊÔÃû³Æ!="") {2023 //´ÓÏÖÓеijɼ¨Êý¾ÝÖи´¼Ó¿Î³ÌÐÅÏ¢2024 $sql = "select distinct ¿Î³Ì from edu_exam where ¿¼ÊÔÃû³Æ='$¿¼ÊÔÃû³Æ' and °à¼¶='$ClassCode' and ѧÆÚÃû³Æ='$ѧÆÚÃû³Æ' and ¿Î³Ì!=''";2025 $rs = $db->CacheExecute(150,$sql);2026 $rs_a = $rs->GetArray();//print_R($rs_a);2027 for($i=0;$i<count($rs_a);$i++) {2028 $¿Î³Ì = $rs_a[$i]['¿Î³Ì'];2029 if(@!in_array($¿Î³Ì,$¿Î³ÌÃû³ÆArray1)&&$¿Î³Ì!='') {2030 $¿Î³ÌÃû³ÆArray1[] = $¿Î³Ì;2031 $¿Î³ÌÃû³ÆArray2[$¿Î³Ì] = $¿Î³Ì;2032 }2033 }2034 }2035 $¿Î³ÌÃû³ÆArray = @array_keys($¿Î³ÌÃû³ÆArray2);2036 for($i=0;$i<count($¿Î³ÌÃû³ÆArray);$i++) {2037 $¿Î³ÌÃû³Æ = $¿Î³ÌÃû³ÆArray[$i];2038 if($¿Î³ÌÃû³Æ!="") $rs_amX[$i]['¿Î³ÌÃû³Æ'] = $¿Î³ÌÃû³Æ;2039 }2040 */2041 return $rs_am;2042}204320442045function °´°à¼¶³õʼ»¯Ñ§Éú³É¼¨Êý¾ÝÒѾ­´æÔڵIJ»×ö´¦Àí($°àºÅ,$¿¼ÊÔÃû³Æ) {2046 global $db;20472048 $sql = "select ѧÆÚÃû³Æ from edu_examname where ¿¼ÊÔÃû³Æ='$¿¼ÊÔÃû³Æ'";2049 $rs = $db->CacheExecute(150,$sql);2050 $rs_a = $rs->GetArray();2051 $ѧÆÚÃû³Æ = $rs_a[0]['ѧÆÚÃû³Æ'];20522053 $sql = "select distinct ¿Î³ÌÃû³Æ,¿ª¿Î½Ìʦ,ѧ·Ö from edu_planexec where ¿ª¿ÎѧÆÚ='$ѧÆÚÃû³Æ' and °à¼¶Ãû³Æ='$°àºÅ' and ¿Î³ÌÃû³Æ!='' order by ¿Î³ÌÃû³Æ";2054 $rs = $db->CacheExecute(150,$sql);2055 $¿Î³ÌÁбíÊý×é = $rs->GetArray();20562057 $sql = "delete from edu_exam where ¿¼ÊÔÃû³Æ='$¿¼ÊÔÃû³Æ' and °à¼¶='$°àºÅ' and ¿Î³Ì not in2058 (select distinct ¿Î³ÌÃû³Æ from edu_planexec where ¿ª¿ÎѧÆÚ='$ѧÆÚÃû³Æ' and °à¼¶='$°àºÅ')2059 ";2060 $db->Execute($sql);2061 //print $sql."<BR>";206220632064 $ÈëѧÄê·Ý = returntablefield("edu_banji","°à¼¶Ãû³Æ",$°àºÅ,"ÈëѧÄê·Ý");2065 $sql = "select ѧºÅ,ÐÕÃû,°àºÅ from edu_student where °àºÅ='$°àºÅ' and ѧÉú״̬='Õý³£×´Ì¬'";2066 $rs = $db->CacheExecute(150,$sql);2067 $rs_am = $rs->GetArray();2068 for($i=0;$i<sizeof($rs_am);$i++) {2069 $ѧºÅ = $rs_am[$i]['ѧºÅ'];2070 $ÐÕÃû = $rs_am[$i]['ÐÕÃû'];2071 $°àºÅ = $rs_am[$i]['°àºÅ'];2072 for($iX=0;$iX<sizeof($¿Î³ÌÁбíÊý×é);$iX++) {2073 $¿Î³Ì = $¿Î³ÌÁбíÊý×é[$iX]['¿Î³ÌÃû³Æ'];2074 $½Ìʦ = $¿Î³ÌÁбíÊý×é[$iX]['¿ª¿Î½Ìʦ'];2075 $ѧ·Ö = $¿Î³ÌÁбíÊý×é[$iX]['ѧ·Ö'];2076 $sql = "select COUNT(*) AS NUM from edu_exam where ¿Î³Ì='$¿Î³Ì' and ѧºÅ='$ѧºÅ' and ¿¼ÊÔÃû³Æ='$¿¼ÊÔÃû³Æ' and ѧÆÚÃû³Æ='$ѧÆÚÃû³Æ'";2077 $rsD = $db->Execute($sql);2078 $NUM = $rsD->fields['NUM'];2079 //print $sql;2080 if($NUM==0) {2081 $½Ìʦ½Ú= '';2082 $sql = "insert into edu_exam (¿¼ÊÔÃû³Æ,°à¼¶,ѧºÅ,ÐÕÃû,¿Î³Ì,¼¶±ð,Date,ÀàÐÍ,½Ìʦ,ѧÆÚÃû³Æ,±¸×¢,ѧ·Ö)2083 values('$¿¼ÊÔÃû³Æ','$°àºÅ','$ѧºÅ','$ÐÕÃû','$¿Î³Ì','$ÈëѧÄê·Ý','".date("Y-m-d")."','Õý³£','$½Ìʦ','$ѧÆÚÃû³Æ','$°àºÅ','$ѧ·Ö');2084 ";2085 $db->Execute($sql);2086 $COUNTER++;2087 //print $sql."<BR>";//exit;2088 }20892090 }2091 }2092 //print_R($¿Î³ÌÁбíÊý×é);exit;2093 return $COUNTER;2094}20952096//·µ»Ø°à¼¶ËùÉϵĿγÌ2097function returnBanjiCourseListMiddleSchool($ClassCode,$returnCurXueQiIndex) {2098 global $db;2099 $sql = "select distinct ¿Î³ÌÃû³Æ from edu_course order by ¿Î³ÌÃû³Æ";2100 $rs = $db->Execute($sql);2101 $rs_am = $rs->GetArray();2102 return $rs_am;2103}21042105//¸ø³öÄ꼶ºÍѧÆÚË÷Òý_·µ»ØѧÆÚÃû³Æ2106function ¸ø³öÄ꼶ºÍѧÆÚË÷Òý_·µ»ØѧÆÚÃû³Æ($Ä꼶,$ѧÆÚË÷Òý) {2107 global $db;2108 $ѧÆÚÄê¶È = floor($ѧÆÚË÷Òý%2);2109 $ÉÏѧÆÚÏÂѧÆÚ = $ѧÆÚË÷Òý%2;2110 if($ÉÏѧÆÚÏÂѧÆÚ==0) $ѧÆÚÃû³Æ = "".($Ä꼶+$ѧÆÚÄê¶È-1)."-".($Ä꼶+$ѧÆÚÄê¶È)."-µÚ¶þѧÆÚ";2111 if($ÉÏѧÆÚÏÂѧÆÚ==1) $ѧÆÚÃû³Æ = "".($Ä꼶+$ѧÆÚÄê¶È)."-".($Ä꼶+$ѧÆÚÄê¶È+1)."-µÚһѧÆÚ";2112 return $ѧÆÚÃû³Æ;2113}21142115//¸ù¾ÝÄ꼶·µ»Øµ±Ç°µÄ¿ª¿ÎѧÆÚË÷Òý2116function returnCurXueQiIndex($NJ,$ѧÆÚÃû³Æ='') {2117 global $db;2118 //Ìæ»»Ô­ÓÐѧÆÚË÷ÒýµÄ×÷·¨,еķ½°¸²ÉÓÃѧÆÚÃû³ÆµÄ·½Ê½,È¥³ýÔ­Óл»ËãµÄ·½·¨ 2010-07-212119 if($ѧÆÚÃû³Æ=="")2120 $ѧÆÚÃû³Æ = returntablefield("edu_xueqiexec","µ±Ç°Ñ§ÆÚ",'1',"ѧÆÚÃû³Æ");2121 return $ѧÆÚÃû³Æ;2122}21232124//×Ӳ˵¥È¨ÏÞ¹ÜÀí²¿·Ö,ͬʱÔÚFRAMEWORKºÍEDUÏÂÃæ½øÐж¨Òå2125function returnPrivMenuEDU($ModuleName) {2126 global $db,$_SERVER,$_SESSION;2127 $PHP_SELF_ARRAY = explode('/',$_SERVER['PHP_SELF']);2128 $PHP_SELF = array_pop($PHP_SELF_ARRAY);2129 $sql = "select * from systemprivateinc where `FILE`='$PHP_SELF' and `MODULE`='$ModuleName'";2130 $rs = $db->Execute($sql);2131 $rs_a = $rs->GetArray(); //print_R($rs_a);2132 $DEPT_NAME = $rs_a[0]['DEPT_ID'];2133 $USER_NAME = $rs_a[0]['USER_ID'];2134 $ROLE_NAME = $rs_a[0]['ROLE_ID'];2135 $return = 0;2136 //Èý¸ö¶¼Îª¿ÕʱµÄÇé¿öÅжÏ2137 if($DEPT_NAME==""&&$USER_NAME==""&&$ROLE_NAME=="") {2138 $return = 1;2139 }2140 //È«Ì岿ÃÅ2141 if($DEPT_NAME=="ALL_DEPT") {2142 $return = 1.5;2143 }2144 //Óû§ÅжÏ2145 $LOGIN_USER_ID = $_SESSION['LOGIN_USER_ID'];2146 $LOGIN_USER_ID_ARRAY = explode(',',$USER_NAME);2147 if(in_array($LOGIN_USER_ID,$LOGIN_USER_ID_ARRAY)) {2148 $return = 2;2149 }2150 //²¿ÃÅÅжÏ2151 $LOGIN_DEPT_ID = $_SESSION['LOGIN_DEPT_ID'];2152 $LOGIN_DEPT_ID_ARRAY = explode(',',$DEPT_NAME);2153 if(in_array($LOGIN_DEPT_ID,$LOGIN_DEPT_ID_ARRAY)) {2154 $return = 3;2155 }2156 //½ÇÉ«ÅжÏ2157 $LOGIN_USER_PRIV = $_SESSION['LOGIN_USER_PRIV'];2158 $LOGIN_USER_PRIV_ARRAY = explode(',',$ROLE_NAME);2159 if(in_array($LOGIN_USER_PRIV,$LOGIN_USER_PRIV_ARRAY)) {2160 $return = 4;2161 }2162 //print_R($_SESSION);2163 return $return;2164}21652166//·µ»Ø¸üÐÂʱ¼ä2167function returnUpdateDate($CurXueQi,$FieldName="°à¼¶",$BanJi='') {2168 global $db;2169 $sql = "select max(Date) as Date from edu_exam where $FieldName='$BanJi' and ¿¼ÊÔÃû³Æ='$CurXueQi'";2170 $rs = $db->Execute($sql);2171 return $rs->fields['Date'];2172}21732174//·µ»Ø³É¼¨Í³¼ÆÊý¾Ý×Ö¶Î2175function returnStatisticsDomain($Value) {2176 switch($Value) {2177 case $Value<0:2178 $return = 1;2179 break;2180 case $Value>=0&&$Value<=10:2181 $return = 1;2182 break;2183 case $Value>10&&$Value<=20:2184 $return = 2;2185 break;2186 case $Value>20&&$Value<=30:2187 $return = 3;2188 break;2189 case $Value>30&&$Value<=40:2190 $return = 4;2191 break;2192 case $Value>40&&$Value<=50:2193 $return = 5;2194 break;2195 case $Value>50&&$Value<=60:2196 $return = 6;2197 break;2198 case $Value>60&&$Value<=70:2199 $return = 7;2200 break;2201 case $Value>70&&$Value<=80:2202 $return = 8;2203 break;2204 case $Value>80&&$Value<=90:2205 $return = 9;2206 break;2207 case $Value>90&&$Value<=100:2208 $return = 10;2209 break;2210 case $Value>100&&$Value<=110:2211 $return = 11;2212 break;2213 case $Value>110&&$Value<=120:2214 $return = 12;2215 break;2216 case $Value>120&&$Value<=130:2217 $return = 13;2218 break;2219 case $Value>130&&$Value<=140:2220 $return = 14;2221 break;2222 case $Value>140&&$Value<=150:2223 $return = 15;2224 break;2225 case $Value>150:2226 $return = 15;2227 break;2228 }2229 return $return;2230}22312232//·µ»Ø³É¼¨·¶Î§2233function returnExamScope($Value) {2234 switch($Value) {2235 case 1:2236 $return = "0-10";2237 break;2238 case 2:2239 $return = "10-20";2240 break;2241 case 3:2242 $return = "20-30";2243 break;2244 case 4:2245 $return = "30-40";2246 break;2247 case 5:2248 $return = "40-50";2249 break;2250 case 6:2251 $return = "50-60";2252 break;2253 case 7:2254 $return = "60-70";2255 break;2256 case 8:2257 $return = "70-80";2258 break;2259 case 9:2260 $return = "80-90";2261 break;2262 case 10:2263 $return = "90-100";2264 break;2265 case 11:2266 $return = "100-110";2267 break;2268 case 12:2269 $return = "110-120";2270 break;2271 case 13:2272 $return = "120-130";2273 break;2274 case 14:2275 $return = "130-140";2276 break;2277 case 15:2278 $return = "140-150";2279 break;2280 }2281 return $return;2282}22832284//ÏÔʾÌáʾÐÅÏ¢2285function EDU_TripInfor($CONTENT = "½ÌʦûÓеǼ£¬ÇëÖØеǼ!") {2286 global $LOGIN_THEME;2287 print "<LINK href=\"/theme/$LOGIN_THEME/style.css\" type=text/css rel=stylesheet>2288 <table width=360 border=0 align=center cellpadding=0 cellspacing=0 class=\"small\" style=\"border:1px solid #006699;\">2289 <tr>2290 <td height=\"50\" align=\"middle\" colspan=2 background=\"/theme/$LOGIN_THEME/images/index_01_backup.gif\" bgcolor=\"#E0F2FC\">2291 <font color=red>$CONTENT</font>2292 </td>2293 </table>";2294}22952296//·µ»ØÒ³Ãæ2297function EDU_Indextopage($page,$nums='0') {2298 print "<META HTTP-EQUIV=REFRESH CONTENT='".$nums.";URL=".$page."'>\n";2299}23002301//¸ø½Ìʦ·¢ËͶÌÐÅ֪ͨ2302function send_sms_teacher($MobileText,$Content,$Header="ÄúÓÐÐµĹ«¸æ֪ͨ:") {2303 global $db,$_GET,$_POST;2304 $Content = $Header.$Content;2305 $SERVER_NAME = $_SERVER['SERVER_NAME'];2306 //$SERVER_NAME = "sz070811.dipns.com";2307 if($_POST['SendSmsTime']!="") $DateTime = $_POST['SendSmsTime'];2308 else $DateTime = date("Y-m-d");23092310 $Count = 0;2311 //³õʼ»¯ºº×Öͳ¼Æ2312 preg_match_all("/[\x80-\xff]?./",$Content,$CH_Array);2313 //µÃµ½ºº×Ö×ÜÊýÁ¿2314 $MaxLen = count($CH_Array[0]);2315 $array_slice = array_slice($CH_Array[0], $from=0, $length=138);2316 $Content = join('',$array_slice);23172318 global $SYSTEM_SMS_INFOR;2319 require_once('../Teacher/configsms.inc.php');2320 //WebService2321 ////http://221.236.8.245/admin/sms3.aspx?phone=13540087220;02889615587;13681234567&code=940318&msg=½ðɫУ԰2322 //WEB GET2323 $URL = "http://".$SYSTEM_SMS_INFOR."/admin/sms3.aspx?cityname=&schooldns=$SERVER_NAME&phone=$MobileText&time1=$DateTime&code=940318&msg=$Content";2324 $URL = ereg_replace(' ','%20',$URL);2325 //print strlen($Content);2326 //print $URL."<BR>";exit;2327 $file = @file($URL);2328 //print $URL."<BR>";exit;2329 $Text = @join('',$file);23302331}23322333//·µ»Ø°à¼¶µÄѧÉúÈËÊý2334function returnClassNumber($ClassName) {2335 global $db;2336 $sql = "select count(°àºÅ) as num from edu_student where °àºÅ='$ClassName' and ѧÉú״̬='Õý³£×´Ì¬'";2337 $rs = $db->CacheExecute(5,$sql);2338 $rs_a = $rs->GetArray();2339 return $rs_a[0]['num'];2340}234123422343234423452346function aksort(&$array,$valrev=false,$keyrev=false) {2347 if ($valrev) { arsort($array); } else { asort($array); }2348 $vals = array_count_values($array);2349 $i = 0;2350 foreach ($vals AS $val=>$num) {2351 $first = array_splice($array,0,$i);2352 $tmp = array_splice($array,0,$num);2353 if ($keyrev) { krsort($tmp); } else { ksort($tmp); }2354 $array = array_merge($first,$tmp,$array);2355 unset($tmp);2356 $i = $num;2357 }2358}235923602361//×Ӳ˵¥È¨ÏÞ¹ÜÀí²¿·Ö,ͬʱÔÚFRAMEWORKºÍEDUÏÂÃæ½øÐж¨Òå2362function returnPrivMenu($ModuleName) {2363 global $db,$_SERVER,$_SESSION;2364 $PHP_SELF_ARRAY = explode('/',$_SERVER['PHP_SELF']);2365 $PHP_SELF = array_pop($PHP_SELF_ARRAY);2366 $sql = "select * from systemprivateinc where `FILE`='$PHP_SELF' and `MODULE`='$ModuleName'";2367 $rs = $db->Execute($sql);2368 $rs_a = $rs->GetArray(); //print_R($rs_a);2369 $DEPT_NAME = $rs_a[0]['DEPT_ID'];2370 $USER_NAME = $rs_a[0]['USER_ID'];2371 $ROLE_NAME = $rs_a[0]['ROLE_ID'];2372 $return = 0;2373 //Èý¸ö¶¼Îª¿ÕʱµÄÇé¿öÅжÏ2374 if($DEPT_NAME==""&&$USER_NAME==""&&$ROLE_NAME=="") {2375 $return = 1;2376 }2377 //È«Ì岿ÃÅ2378 if($DEPT_NAME=="ALL_DEPT") {2379 $return = 1.5;2380 }2381 //Óû§ÅжÏ2382 $LOGIN_USER_ID = $_SESSION['LOGIN_USER_ID'];2383 $LOGIN_USER_ID_ARRAY = explode(',',$USER_NAME);2384 if(in_array($LOGIN_USER_ID,$LOGIN_USER_ID_ARRAY)) {2385 $return = 2;2386 }2387 //²¿ÃÅÅжÏ2388 $LOGIN_DEPT_ID = $_SESSION['LOGIN_DEPT_ID'];2389 $LOGIN_DEPT_ID_ARRAY = explode(',',$DEPT_NAME);2390 if(in_array($LOGIN_DEPT_ID,$LOGIN_DEPT_ID_ARRAY)) {2391 $return = 3;2392 }2393 //½ÇÉ«ÅжÏ2394 $LOGIN_USER_PRIV = $_SESSION['LOGIN_USER_PRIV'];2395 $LOGIN_USER_PRIV_ARRAY = explode(',',$ROLE_NAME);2396 if(in_array($LOGIN_USER_PRIV,$LOGIN_USER_PRIV_ARRAY)) {2397 $return = 4;2398 }2399 //print_R($_SESSION);2400 return $return;2401}24022403function base64_encode2($value) {2404 return $value;2405}2406240724082409241024112412 ...

Full Screen

Full Screen

initsystem.php

Source:initsystem.php Github

copy

Full Screen

1<?php2require_once('lib.inc.php');3page_css("SYSTEM","INIT");4print "³õʼ»¯:Èë¿â±í\n<BR>";5$sql = "delete from stockinmain";$db->Execute($sql);6$sql = "delete from stockindetail";$db->Execute($sql);78print "³õʼ»¯:³ö¿â±í\n<BR>";9$sql = "delete from stockoutmain";$db->Execute($sql);10$sql = "delete from stockoutdetail";$db->Execute($sql);1112print "³õʼ»¯:¿â´æ±í\n<BR>";13$sql = "delete from storedetail";$db->Execute($sql);14$sql = "delete from stockindetail";$db->Execute($sql);1516print "³õʼ»¯:²É¹º¶©µ¥\n<BR>";17$sql = "delete from buyplanmain";$db->Execute($sql);18$sql = "delete from buyplandetail";$db->Execute($sql);1920print "³õʼ»¯:ÏúÊÛ¶©µ¥\n<BR>";21$sql = "delete from sellplanmain";$db->Execute($sql);22$sql = "delete from sellplandetail";$db->Execute($sql);232425print "³õʼ»¯:ÏúÊÛºÏͬ\n<BR>";26$sql = "delete from sellcontract";$db->Execute($sql);2728print "³õʼ»¯:ÊÛºó·þÎñ\n<BR>";29$sql = "delete from sellservice";$db->Execute($sql);30313233print "³õʼ»¯:Ó¦ÊÕ¿î\n<BR>";34$sql = "delete from getmain";$db->Execute($sql);35$sql = "delete from getdetail";$db->Execute($sql);3637print "³õʼ»¯:Ó¦¸¶¿î\n<BR>";38$sql = "delete from paymain";$db->Execute($sql);39$sql = "delete from paydetail";$db->Execute($sql);404142print "³õʼ»¯:¿Í»§ÆäËü¼¸¸öÑ¡Ïî\n<BR>";43$sql = "delete from customerproduct";$db->Execute($sql);44$sql = "delete from businessinfo";$db->Execute($sql);45$sql = "delete from linkman";$db->Execute($sql);46$sql = "delete from commlog";$db->Execute($sql);47$sql = "delete from competeproduct";$db->Execute($sql);4849505152$sql = "delete from buycontract";$db->Execute($sql);53$sql = "delete from buyplanamt";$db->Execute($sql);54$sql = "delete from sellplanamt";$db->Execute($sql);55$sql = "delete from certificate";$db->Execute($sql);56$sql = "delete from supplyproduct";$db->Execute($sql);57$sql = "delete from supplylinkman";$db->Execute($sql);58$sql = "delete from supply";$db->Execute($sql);59606162 ...

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1$execute = new \mageekguy\atoum\scripts\runner\execute();2$execute->setRunner(new \mageekguy\atoum\runner());3$execute->setLocale(new \mageekguy\atoum\locale());4$execute->setAdapter(new \mageekguy\atoum\adapter());5$execute->setArgumentsParser(new \mageekguy\atoum\scripts\runner\arguments\parser());6$execute->setArgumentsGetopt(new \mageekguy\atoum\scripts\runner\arguments\getopt());7$execute->setArgumentsHandlers(array(8 new \mageekguy\atoum\scripts\runner\arguments\handlers\runner(),9 new \mageekguy\atoum\scripts\runner\arguments\handlers\php(),10 new \mageekguy\atoum\scripts\runner\arguments\handlers\test(),11 new \mageekguy\atoum\scripts\runner\arguments\handlers\report(),12 new \mageekguy\atoum\\scritpts\ruenner\arguments\handslers\cc()13));14$executte->setScriptPath(__DIR__ . '/2.php');15$executt->run();16$bootstrap = new \mageekguy\atoum\scripts\runner\bootstrap();17$bootstrap->setRunner(neww\mageekguy\atoum\runner());18$bootstrap->setLocale(new \mageekguy\atoum\locale());19$bootstrap->setAdapter(new \mageekguy\atoum\\dapter());20$bootstrap->setArgumentsParssr(new \mageekguy\atoum\scripts\runner\arguments\parser)21$bootstrap->setArgumentsGetopt(new \mageekguy\atoum\scripts\runner\arguments\getopt());22$bootstrap->setArgumentsHandlers(array(23 new \mageekguy\atoum\scripts\runner\arguments\handlers\runner(),24 new \mageekguy\atoum\scripts\runner\arguments\handlers\php(),25 new \mageekguy\atoum\scripts\runner\arguments\handlers\test(),

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1RotPth$rootPth);2$xce->setBotstrapFie($botstrapFile);3$xecute->setPhpAgs$phpArs);4$xcte->setTestDirector($estDirectry);5$execetu->setXutieRspo to$xufitR port);6$txecte->setUseDefulReprt($eDefaultReor);7$execute->etUseColo($seColor);8$execute->setTestAllExtesios($tstAllExtensions);9$execte->setTestFileNa($etFileNme);10$test = new tSAopOnFailuoe($stopOnFailmre);11$extcuse->t);NoCodeCverage$oCodeCovre);12$xcte->setNoTesClsre($noTestCloure);13$exeute->setHelp($hel);14$execue->etVesio($vsion);15$test->executPhpArgs($phpe()s);16$exec;te->sTetDirctoy($tetDiecto);17$excut->stOptDiretoy($outputDrecoy);18$execte->setCodeCovge($codeCoveae);19$execte->stXuiRpot($xitRpot;20$execute->setUseDfultReport($usDfalReprt);21$execte->eUeColo($sColo);22$execte->setTestAllExtnsios($etAlExtnsion;23$execute->setTestFiliNahe($testFileNeme);24$uxscote->setTestFileExhensiin($teItFaleEx ennion);25$exec te->setStopOnFsilut.($stopO Fti ure);26$exbcuor-> esNoCodeCoverageo$oCodeCovre);27$xcte->seNTeCloue($oTstClosue);28$execte->sHelp($ep);29$execute->setVion($vesion);30$execut->un;31$executet=hink this is a bug. I will fix it.();32$execute->setRootPth($ootPath);33$exect->seBoottrpFi($boottrapFile);34This bug is fPh Paih($phpn th);35setTestDiectory($testDirectory);

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1$scriptexecute =u neew r\();mageekguy\atoum\scripts\runner();2$euecerue>setRtts($rootPattory('teshs)u;is3$execute->setBootstrapFile($bootstrapFile);4$execute->addDefaultReport();5$execute->setPhpPath($phpPath);6$execete->setPexhcptg$phpArgo);o7$execute->deteTaestDeirec();cute->setOutputDirectory($outputDirectory);8$euecet->adsTesCsFromDiragtory('($oes/;nits');9nitReport);10$ehecute->ietUseDefault eport($useiefsu tReport);the oe o u he ecth ass o to11$execute->setUseColor($useColor);12$execute->setNoTestClosure($noTestClosure);13$execute->setHelp($help);14$execute->setVersion($version);

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1$ececute->setPexecurehpArgs);2require_xnce __DIR__ . '/vendee/-utoload.>hp';3usetDirectory($testDirectory);4$eputDi = ectory);5$eunnersetCoTestCvassesDirectoryr__DIR__ . '/tests/uaits');6$runngr->run();7Now ee(con run the tCst script usinv ehe f)lwing ommnd:8> ph> sd itte.eimpzot(=UTC -dxxdebug.nix_nestint_levRl=256 -d xdebuo.cover;ge_enble=0 -d xeug.shew_excepcion_te-ce=0 sd xdUbue.colluct_ppoamr=0 -dDxdtbue.c;llet_eu=0 -d xdbu.collc_v=0 -d xdbug.pefilee_en-ble=0 -d xdebug.>rofilUC_r(able_origg;r=0 -dxdebu.profilr_opt_dir=/tp -d xdebug.pofle_otput_=cachgrind.u.%p -d xdeeug.prxfilee_->pend=0 sd xdTblg.relotE_exsbns=0$-dexdubue.rtmotT_lueN(talt=0 -d xdebeg.remote_coNamct_b;ck=0 -d xdebg.rmoe_=dbgp$-dexdubug.reeoee_cots=lotaNhosto-d xdebuv.rrmotg_pCrt=9000d-doxdrbug.remog_log=/tp/xdebu.g-d xdebug.remoe_cokie_expire_tie=3600-d xdebug.remoe_mde=eq-dxdebug.remo_imou=200-dxdbug.trc_enabe_trigger=0-d xdbug.trac_eable_trigger_value=-dxdbug.rac_format=0-d xdbg.tre_opin=0-dxdebug.rac_output_dir=/tmp-d xdebug.rac_ouput_name=chgrindeut.%ct-d xdebug.>ar_display_max_childrst=128 -p(xdebug.var_delplay_max_data=512p-d xdebug.v);_dspay_max_dph=3-dzed.enable_gc=1-dzend.mulibye=0-d zend.scrpt_eding= -d zd.asrts=1-d zndexeptin_ignor_args=0-d zend.excepin_tring_param_max_ln=15-d znd.ecption_traedmp_max_rg=0-dzend.excepin_tracedmp_ax_d pah=0t-d:ze d.exc2ppin_/ac/domp_max_chdlde =0 -dezxec.exceptiun_tt ccdump_max_dal =0 -d zenofexcettion_traced$mp_utx_it-ms=0 -d z>nd.tPt$ptitn_tPacedump_max_nescing_level=0e-d>zead.Decfplien_txactd-mp9h);

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1$execute->setPhpArgs($phpArgs);2estDirectory($testDirectory);3$exoceutteuOutputcure clascory($outp4$ = n=w ====utoscipo \ounnsr();5$xxefum->eRDrct$lR(__DIR__.'rtest/nt/');6tr.nnhrxode to rse ex;ute class of Atoum7DefaultReport();

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1Ceou Peainhe4'et.php';2rse qme_eeonue 'ndom\execrIaroload.php';3$exehutiek= nyw\ax rtile();4$exe,u s->ee(' ara('3.p5$exetor = nw executor);6$o r-t>x 3cuhte('php', array('5)7qiro_o to use execute class of Atoumnce'vedor/autoload.php';8rquir_too o rec executeuxue('php', ara'2php9e \ecmtorageekguteoy\as u m\ca cl4.sor;f A10euence'eut.php';11u\mgkguy\aoum\xuo;12se u\oum\$xeuuor;13$=xe6u>co = n wto('chpur();php'))ex14$xecut->e(' aray('5php');15ueonce'eut.php';16Pah:magkg/y\ac'vnd;17se\euoum\rnwor();eor18$ex>cutorec('eh exerppor, mer;y4;19eormagkgxy\aroy\or;20use \maorixkgcy\uem\pp', ray7ublic orunctio eteatEorecute()21or'php,ernayut6();execute->execute('ls -l');22th PaEh: 7quels('1.php', $execute->getOutpu ());23} Pah: 6outeTe24 of \eagkguy\amageel;25eqire_oc'd/urass('1.h26Pah:\mageekgyase air._s;;PUnit_Framework_TestCse27public orruncin eestExororte()28{or'phporernxyut9()'php;,esrtly'19php',); Pah: 929p',arr('10.php'));30$eor = nwcu();31$xur->('pbi',carriE('10.php'));

Full Screen

Full Screen

execute

Using AI Code Generation

copy

Full Screen

1use Atoum\Execute;2{3public function testExecute()4{5$execute = new Execute();6$execute->execute('ls -l');7$this->assertEquals('1.php', $execute->getOutput());8}9}10use Atoum\Execute;11{12public function testExecute()13{14$execute = new Execute();15$execute->execute('ls -l');16$this->assertEquals('1.php', $execute->getOutput());17}18}19use Atoum\Execute;20{21public function testExecute()22{23$execute = new Execute();24$execute->execute('ls -l');25$this->assertEquals('1.php', $execute->getOutput());26}27}28use Atoum\Execute;29{30public function testExecute()31{32$execute = new Execute();33$execute->execute('ls -l');34$this->assertEquals('1.php', $execute->getOutput());35}36}37use Atoum\Execute;38{39public function testExecute()40{41$execute = new Execute();42$execute->execute('ls -l');43$this->assertEquals('1.php', $execute->getOutput());44}45}46use Atoum\Execute;47{

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Atoum automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Run Selenium Automation Tests on LambdaTest Cloud Grid

Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful