<
From version < 1.38 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.18 >
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,11 +43,7 @@
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)
48 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
49 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
50 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
51 51   strTitle = services.cleanStr.alphanum(request.title)
52 52   strFirstname = services.cleanStr.alphanum(request.firstname)
53 53   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -56,6 +56,7 @@
56 56   strLphone = services.cleanStr.numphone(request.lphone)
57 57   strMphone = services.cleanStr.numphone(request.mphone)
58 58   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
59 59   strEmail2 = services.cleanStr.alphanum(request.email2)
60 60   strCreateTime = java.time.ZonedDateTime.now()
61 61   strCreateIP = request.remoteAddr
... ... @@ -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,16 +139,8 @@
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:\r\n"
143 143   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
144 - strEmailBody = strEmailBody + "Registered Business Address:\r\n"
145 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
146 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
147 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
148 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
149 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
150 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
151 - strEmailBody = strEmailBody + "Contact info:"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
152 152   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
153 153   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
154 154   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -162,11 +162,6 @@
162 162   xcontext.put("strEmailBody",strEmailBody)
163 163  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
164 164   xcontext.put("strCompanyName",strCompanyName)
165 - xcontext.put("strCompanyAddress",strCompanyAddress)
166 - xcontext.put("strCompanyCity",strCompanyCity)
167 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
168 - xcontext.put("strCompanyProvince",strCompanyProvince)
169 - xcontext.put("strCompanyCountry",strCompanyCountry)
170 170   xcontext.put("strTitle",strTitle)
171 171   xcontext.put("strFirstname",strFirstname)
172 172   xcontext.put("strLastname",strLastname)
... ... @@ -181,11 +181,6 @@
181 181   }
182 182   if (strEditCommand == "Proceed"){
183 183   xcontext.put("strCompanyName",strCompanyName)
184 - xcontext.put("strCompanyAddress",strCompanyAddress)
185 - xcontext.put("strCompanyCity",strCompanyCity)
186 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
187 - xcontext.put("strCompanyProvince",strCompanyProvince)
188 - xcontext.put("strCompanyCountry",strCompanyCountry)
189 189   xcontext.put("strTitle",strTitle)
190 190   xcontext.put("strFirstname",strFirstname)
191 191   xcontext.put("strLastname",strLastname)
... ... @@ -200,11 +200,6 @@
200 200   }
201 201   if (strEditCommand == "Correct"){
202 202   xcontext.put("strCompanyName",strCompanyName)
203 - xcontext.put("strCompanyAddress",strCompanyAddress)
204 - xcontext.put("strCompanyCity",strCompanyCity)
205 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
206 - xcontext.put("strCompanyProvince",strCompanyProvince)
207 - xcontext.put("strCompanyCountry",strCompanyCountry)
208 208   xcontext.put("strTitle",strTitle)
209 209   xcontext.put("strFirstname",strFirstname)
210 210   xcontext.put("strLastname",strLastname)
... ... @@ -254,10 +254,10 @@
254 254  }
255 255  </style>
256 256  </head>
257 - <form action="" class="xformInline" method="post" name="Contact Edit Form">
258 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
211 + <form action="" class="xformInline" method="post" name="User Registration Form">
212 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
259 259   <col style="width:30%">
260 - <col style="width:70%">
214 + <col style="width:70%">
261 261   <th colspan = "2">
262 262   <b>Company Information</b>
263 263   </th>
... ... @@ -373,39 +373,9 @@
373 373   #if( $xcontext.strFormStatus == "DataCorrection" )
374 374   {{html wiki=false clean=false}}
375 375   <form action="" class="xformInline" method="post" name="User Registration Form">
376 -<head>
377 -<style>
378 -#cecTable {
379 - font-family: Arial, Helvetica, sans-serif;
380 - border-collapse: collapse;
381 - border-color: #007d84
382 - width: 100%;
383 -}
384 -
385 -#cecTable td, #cecTable th {
386 - border: 1px solid #007d84;
387 - padding: 8px;
388 -}
389 -
390 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
391 -
392 -#cecTable tr:hover {background-color: #ddd;}
393 -
394 -#cecTable th {
395 - padding-top: 12px;
396 - padding-bottom: 12px;
397 - text-align: left;
398 - background-color: #007d84;
399 - color: white;
400 -}
401 -</style>
402 -</head>
403 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
330 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
404 404   <col style="width:30%">
405 405   <col style="width:70%">
406 - <th colspan = "2">
407 - <b>Company Information</b>
408 - </th>
409 409   <tr>
410 410   <td align="left" class="style1">Company name:</td>
411 411   <td class="style1">
... ... @@ -414,44 +414,6 @@
414 414   </td>
415 415   </tr>
416 416   <tr>
417 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
418 - <td class="style1">
419 - <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">
420 - </select>
421 - </td>
422 - </tr>
423 - <tr>
424 - <td align="left" class="style1">Registered Business Address - City:</td>
425 - <td class="style1">
426 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
427 - </select>
428 - </td>
429 - </tr>
430 - <tr>
431 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
432 - <td class="style1">
433 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
434 - </select>
435 - </td>
436 - </tr>
437 - <tr>
438 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
439 - <td class="style1">
440 - <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">
441 - </select>
442 - </td>
443 - </tr>
444 - <tr>
445 - <td align="left" class="style1">Registered Business Address - Country:</td>
446 - <td class="style1">
447 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
448 - </select>
449 - </td>
450 - </tr>
451 - <th colspan = "2">
452 - <b>Your Contact Information</b>
453 - </th>
454 - <tr>
455 455   <td align="left" class="style1">Title:</td>
456 456   <td class="style1">
457 457   <input type="text" id="title" name="title" placeholder="Enter your title" value="${xcontext.strTitle}" size="20">
... ... @@ -514,39 +514,9 @@
514 514  You have entered the following information to register to the CEC Scheme:
515 515   {{html wiki=false clean=false}}
516 516   <form action="" class="xformInline" method="post" name="User Registration Form">
517 -<head>
518 -<style>
519 -#cecTable {
520 - font-family: Arial, Helvetica, sans-serif;
521 - border-collapse: collapse;
522 - border-color: #007d84
523 - width: 100%;
524 -}
525 -
526 -#cecTable td, #cecTable th {
527 - border: 1px solid #007d84;
528 - padding: 8px;
529 -}
530 -
531 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
532 -
533 -#cecTable tr:hover {background-color: #ddd;}
534 -
535 -#cecTable th {
536 - padding-top: 12px;
537 - padding-bottom: 12px;
538 - text-align: left;
539 - background-color: #007d84;
540 - color: white;
541 -}
542 -</style>
543 -</head>
544 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
403 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
545 545   <col style="width:30%">
546 546   <col style="width:70%">
547 - <th colspan = "2">
548 - <b>Company Information</b>
549 - </th>
550 550   <tr>
551 551   <td align="left" class="style1">Company name:</td>
552 552   <td class="style1">
... ... @@ -555,45 +555,6 @@
555 555   </td>
556 556   </tr>
557 557   <tr>
558 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
559 - <td class="style1">
560 - <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
561 - ${xcontext.strCompanyAddress}
562 - </td>
563 - </tr>
564 - <tr>
565 - <td align="left" class="style1">Registered Business Address - City:</td>
566 - <td class="style1">
567 - <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
568 - ${xcontext.strCompanyCity}
569 - </td>
570 - </tr>
571 - <tr>
572 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
573 - <td class="style1">
574 - <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
575 - ${xcontext.strCompanyPostcode}
576 - </td>
577 - </tr>
578 - <tr>
579 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
580 - <td class="style1">
581 - <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
582 - ${xcontext.strCompanyProvince}
583 - </td>
584 - </tr>
585 - <tr>
586 - <td align="left" class="style1">Registered Business Address - Country:</td>
587 - <td class="style1">
588 - <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
589 - ${xcontext.strCompanyCountry}
590 - </td>
591 - </tr>
592 - <th colspan = "2">
593 - <b>Your Contact Information</b>
594 - </th>
595 -
596 - <tr>
597 597   <td align="hidden" class="style1">Title:</td>
598 598   <td class="style1">
599 599   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
... ... @@ -674,13 +674,6 @@
674 674  <p>After you click the below <b>Register</b> button, you should receive an automatically generated e-mail to the primary e-mail address you provide in the form above, containing a verification link. You must verify your e-mail address by clicking this verification link contained in the e-mail within 24 hours, otherwise your data may be deleted and you will have to restart the registration process.</p>
675 675  
676 676  <input type="hidden" id="companyname" name="companyname" readonly value="${xcontext.strCompanyName}" size="50">
677 -
678 -<input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyAddress}" size="100">
679 -<input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyCity}" size="100">
680 -<input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
681 -<input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
682 -<input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
683 -
684 684  <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
685 685  <input type="hidden" id="firstname" name="firstname" readonly value="${xcontext.strFirstname}" size="50">
686 686  <input type="hidden" id="lastname" name="lastname" readonly value="${xcontext.strLastname}" size="50">
© 2022 TruCert Assessment Services Inc.
V01-00