<
From version < 1.40 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.25 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,11 +10,6 @@
10 10  
11 11   String strContactID = ""
12 12   String strCompanyName = ""
13 - String strCompanyAddress = ""
14 - String strCompanyCity = ""
15 - String strCompanyPostcode = ""
16 - String strCompanyProvince = ""
17 - String strCompanyCountry = ""
18 18   String strTitle = ""
19 19   String strFirstname = ""
20 20   String strLastname = ""
... ... @@ -43,8 +43,8 @@
43 43   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
44 44  
45 45   strCompanyName = services.cleanStr.alphanum(request.companyname)
46 - strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
47 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
41 + strCompanyAddress = services.cleanStr.alphanum(request.companycity)
42 + strCompanyCity = services.cleanStr.alphanum(request.companyaddress)
48 48   strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
49 49   strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
50 50   strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
... ... @@ -67,11 +67,6 @@
67 67   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
68 68   """(
69 69   companyname,
70 - companyaddress,
71 - companycity,
72 - companypostcode,
73 - companyprovince,
74 - companycountry,
75 75   title,
76 76   firstname,
77 77   lastname,
... ... @@ -87,11 +87,6 @@
87 87   confemailsentcode)
88 88   VALUES(
89 89   '$strCompanyName',
90 - '$strCompanyAddress',
91 - '$strCompanyCity',
92 - '$strCompanyPostcode',
93 - '$strCompanyProvince',
94 - '$strCompanyCountry',
95 95   '$strTitle',
96 96   '$strFirstname',
97 97   '$strLastname',
... ... @@ -113,11 +113,6 @@
113 113   """
114 114   SET
115 115   companyname = '$strCompanyName',
116 - companyaddress = '$strCompanyAddress',
117 - companycity = '$strCompanyCity',
118 - companypostcode = '$strCompanyPostcode',
119 - companyprovince = '$strCompanyProvince',
120 - companycountry = '$strCompanyCountry',
121 121   title = '$strTitle',
122 122   firstname = '$strFirstname',
123 123   lastname = '$strLastname',
... ... @@ -139,10 +139,14 @@
139 139   }
140 140   strEmailBody = "Dear " + strPrefname + ","
141 141   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "A request was made to register you to the CEC website (https://cecocert.com) with the following information:" + "\r\n" + "\r\n"
142 - strEmailBody = strEmailBody + "Registered name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
122 + strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
143 143   strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
144 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n"
145 - strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + ", " + strRole + "\r\n"
124 + strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
125 + strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
126 + strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
127 + strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
128 + strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
129 + strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
146 146   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
147 147   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
148 148   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
... ... @@ -155,11 +155,11 @@
155 155   xcontext.put("strEmailBody",strEmailBody)
156 156  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
157 157   xcontext.put("strCompanyName",strCompanyName)
158 - xcontext.put("strCompanyAddress",strCompanyAddress)
159 - xcontext.put("strCompanyCity",strCompanyCity)
160 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
161 - xcontext.put("strCompanyProvince",strCompanyProvince)
162 - xcontext.put("strCompanyCountry",strCompanyCountry)
142 + xcontext.put("strCompanyName",strCompanyAddress)
143 + xcontext.put("strCompanyName",strCompanyCity)
144 + xcontext.put("strCompanyName",strCompanyPostcode)
145 + xcontext.put("strCompanyName",strCompanyProvince)
146 + xcontext.put("strCompanyName",strCompanyCountry)
163 163   xcontext.put("strTitle",strTitle)
164 164   xcontext.put("strFirstname",strFirstname)
165 165   xcontext.put("strLastname",strLastname)
... ... @@ -174,11 +174,11 @@
174 174   }
175 175   if (strEditCommand == "Proceed"){
176 176   xcontext.put("strCompanyName",strCompanyName)
177 - xcontext.put("strCompanyAddress",strCompanyAddress)
178 - xcontext.put("strCompanyCity",strCompanyCity)
179 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
180 - xcontext.put("strCompanyProvince",strCompanyProvince)
181 - xcontext.put("strCompanyCountry",strCompanyCountry)
161 + xcontext.put("strCompanyName",strCompanyAddress)
162 + xcontext.put("strCompanyName",strCompanyCity)
163 + xcontext.put("strCompanyName",strCompanyPostcode)
164 + xcontext.put("strCompanyName",strCompanyProvince)
165 + xcontext.put("strCompanyName",strCompanyCountry)
182 182   xcontext.put("strTitle",strTitle)
183 183   xcontext.put("strFirstname",strFirstname)
184 184   xcontext.put("strLastname",strLastname)
... ... @@ -193,11 +193,11 @@
193 193   }
194 194   if (strEditCommand == "Correct"){
195 195   xcontext.put("strCompanyName",strCompanyName)
196 - xcontext.put("strCompanyAddress",strCompanyAddress)
197 - xcontext.put("strCompanyCity",strCompanyCity)
198 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
199 - xcontext.put("strCompanyProvince",strCompanyProvince)
200 - xcontext.put("strCompanyCountry",strCompanyCountry)
180 + xcontext.put("strCompanyName",strCompanyAddress)
181 + xcontext.put("strCompanyName",strCompanyCity)
182 + xcontext.put("strCompanyName",strCompanyPostcode)
183 + xcontext.put("strCompanyName",strCompanyProvince)
184 + xcontext.put("strCompanyName",strCompanyCountry)
201 201   xcontext.put("strTitle",strTitle)
202 202   xcontext.put("strFirstname",strFirstname)
203 203   xcontext.put("strLastname",strLastname)
... ... @@ -366,33 +366,6 @@
366 366   #if( $xcontext.strFormStatus == "DataCorrection" )
367 367   {{html wiki=false clean=false}}
368 368   <form action="" class="xformInline" method="post" name="User Registration Form">
369 -<head>
370 -<style>
371 -#cecTable {
372 - font-family: Arial, Helvetica, sans-serif;
373 - border-collapse: collapse;
374 - border-color: #007d84
375 - width: 100%;
376 -}
377 -
378 -#cecTable td, #cecTable th {
379 - border: 1px solid #007d84;
380 - padding: 8px;
381 -}
382 -
383 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
384 -
385 -#cecTable tr:hover {background-color: #ddd;}
386 -
387 -#cecTable th {
388 - padding-top: 12px;
389 - padding-bottom: 12px;
390 - text-align: left;
391 - background-color: #007d84;
392 - color: white;
393 -}
394 -</style>
395 -</head>
396 396   <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
397 397   <col style="width:30%">
398 398   <col style="width:70%">
... ... @@ -409,7 +409,7 @@
409 409   <tr>
410 410   <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
411 411   <td class="style1">
412 - <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" value="${xcontext.strCompanyAddress}" size="100">
369 + <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" size="100">
413 413   </select>
414 414   </td>
415 415   </tr>
... ... @@ -416,7 +416,7 @@
416 416   <tr>
417 417   <td align="left" class="style1">Registered Business Address - City:</td>
418 418   <td class="style1">
419 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" value="${xcontext.strCompanyCity}" size="100">
376 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
420 420   </select>
421 421   </td>
422 422   </tr>
... ... @@ -423,7 +423,7 @@
423 423   <tr>
424 424   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
425 425   <td class="style1">
426 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" value="${xcontext.strCompanyPostcode}" size="100">
383 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
427 427   </select>
428 428   </td>
429 429   </tr>
... ... @@ -430,7 +430,7 @@
430 430   <tr>
431 431   <td align="left" class="style1">Registered Business Address - Province or State:</td>
432 432   <td class="style1">
433 - <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" value="${xcontext.strCompanyProvince}" size="100">
390 + <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" size="100">
434 434   </select>
435 435   </td>
436 436   </tr>
... ... @@ -437,7 +437,7 @@
437 437   <tr>
438 438   <td align="left" class="style1">Registered Business Address - Country:</td>
439 439   <td class="style1">
440 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" value="${xcontext.strCompanyCountry}" size="50">
397 + <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
441 441   </select>
442 442   </td>
443 443   </tr>
... ... @@ -507,39 +507,9 @@
507 507  You have entered the following information to register to the CEC Scheme:
508 508   {{html wiki=false clean=false}}
509 509   <form action="" class="xformInline" method="post" name="User Registration Form">
510 -<head>
511 -<style>
512 -#cecTable {
513 - font-family: Arial, Helvetica, sans-serif;
514 - border-collapse: collapse;
515 - border-color: #007d84
516 - width: 100%;
517 -}
518 -
519 -#cecTable td, #cecTable th {
520 - border: 1px solid #007d84;
521 - padding: 8px;
522 -}
523 -
524 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
525 -
526 -#cecTable tr:hover {background-color: #ddd;}
527 -
528 -#cecTable th {
529 - padding-top: 12px;
530 - padding-bottom: 12px;
531 - text-align: left;
532 - background-color: #007d84;
533 - color: white;
534 -}
535 -</style>
536 -</head>
537 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
467 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
538 538   <col style="width:30%">
539 539   <col style="width:70%">
540 - <th colspan = "2">
541 - <b>Company Information</b>
542 - </th>
543 543   <tr>
544 544   <td align="left" class="style1">Company name:</td>
545 545   <td class="style1">
... ... @@ -548,45 +548,6 @@
548 548   </td>
549 549   </tr>
550 550   <tr>
551 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
552 - <td class="style1">
553 - <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
554 - ${xcontext.strCompanyAddress}
555 - </td>
556 - </tr>
557 - <tr>
558 - <td align="left" class="style1">Registered Business Address - City:</td>
559 - <td class="style1">
560 - <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
561 - ${xcontext.strCompanyCity}
562 - </td>
563 - </tr>
564 - <tr>
565 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
566 - <td class="style1">
567 - <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
568 - ${xcontext.strCompanyPostcode}
569 - </td>
570 - </tr>
571 - <tr>
572 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
573 - <td class="style1">
574 - <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
575 - ${xcontext.strCompanyProvince}
576 - </td>
577 - </tr>
578 - <tr>
579 - <td align="left" class="style1">Registered Business Address - Country:</td>
580 - <td class="style1">
581 - <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
582 - ${xcontext.strCompanyCountry}
583 - </td>
584 - </tr>
585 - <th colspan = "2">
586 - <b>Your Contact Information</b>
587 - </th>
588 -
589 - <tr>
590 590   <td align="hidden" class="style1">Title:</td>
591 591   <td class="style1">
592 592   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
© 2022 TruCert Assessment Services Inc.
V01-00