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

Summary

Details

Page properties
Content
... ... @@ -10,6 +10,11 @@
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 = ""
13 13   String strTitle = ""
14 14   String strFirstname = ""
15 15   String strLastname = ""
... ... @@ -38,7 +38,11 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 -// println "Received Company name: " + strCompanyName
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)
42 42   strTitle = services.cleanStr.alphanum(request.title)
43 43   strFirstname = services.cleanStr.alphanum(request.firstname)
44 44   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -47,7 +47,6 @@
47 47   strLphone = services.cleanStr.numphone(request.lphone)
48 48   strMphone = services.cleanStr.numphone(request.mphone)
49 49   strEmail = services.cleanStr.alphanum(request.email)
50 -// println "Received E-mail: " + strEmail
51 51   strEmail2 = services.cleanStr.alphanum(request.email2)
52 52   strCreateTime = java.time.ZonedDateTime.now()
53 53   strCreateIP = request.remoteAddr
... ... @@ -59,6 +59,11 @@
59 59   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
60 60   """(
61 61   companyname,
70 + companyaddress,
71 + companycity,
72 + companypostcode,
73 + companyprovince,
74 + companycountry,
62 62   title,
63 63   firstname,
64 64   lastname,
... ... @@ -74,6 +74,11 @@
74 74   confemailsentcode)
75 75   VALUES(
76 76   '$strCompanyName',
90 + '$strCompanyAddress',
91 + '$strCompanyCity',
92 + '$strCompanyPostcode',
93 + '$strCompanyProvince',
94 + '$strCompanyCountry',
77 77   '$strTitle',
78 78   '$strFirstname',
79 79   '$strLastname',
... ... @@ -95,6 +95,11 @@
95 95   """
96 96   SET
97 97   companyname = '$strCompanyName',
116 + companyaddress = '$strCompanyAddress',
117 + companycity = '$strCompanyCity',
118 + companypostcode = '$strCompanyPostcode',
119 + companyprovince = '$strCompanyProvince',
120 + companycountry = '$strCompanyCountry',
98 98   title = '$strTitle',
99 99   firstname = '$strFirstname',
100 100   lastname = '$strLastname',
... ... @@ -116,11 +116,12 @@
116 116   }
117 117   strEmailBody = "Dear " + strPrefname + ","
118 118   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"
119 - strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
120 - strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
121 - strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
122 - strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
123 - strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
142 + strEmailBody = strEmailBody + "Registered name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
143 + strEmailBody = strEmailBody + "Registered Business: " + strCompanyName + ", " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n"
144 + strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n "
145 + strEmailBody = strEmailBody + "Contact role: " + strRole + "\r\n "
146 + strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" + "\r\n"
147 + strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n"
124 124   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
125 125   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "Please click the below link to confirm your e-mail address:" + "\r\n"
126 126   strEmailBody = strEmailBody + "https://cecocert.com/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome"
... ... @@ -131,6 +131,11 @@
131 131   xcontext.put("strEmailBody",strEmailBody)
132 132  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
133 133   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)
134 134   xcontext.put("strTitle",strTitle)
135 135   xcontext.put("strFirstname",strFirstname)
136 136   xcontext.put("strLastname",strLastname)
... ... @@ -145,6 +145,11 @@
145 145   }
146 146   if (strEditCommand == "Proceed"){
147 147   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)
148 148   xcontext.put("strTitle",strTitle)
149 149   xcontext.put("strFirstname",strFirstname)
150 150   xcontext.put("strLastname",strLastname)
... ... @@ -159,6 +159,11 @@
159 159   }
160 160   if (strEditCommand == "Correct"){
161 161   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)
162 162   xcontext.put("strTitle",strTitle)
163 163   xcontext.put("strFirstname",strFirstname)
164 164   xcontext.put("strLastname",strLastname)
... ... @@ -327,6 +327,33 @@
327 327   #if( $xcontext.strFormStatus == "DataCorrection" )
328 328   {{html wiki=false clean=false}}
329 329   <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>
330 330   <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
331 331   <col style="width:30%">
332 332   <col style="width:70%">
... ... @@ -343,7 +343,7 @@
343 343   <tr>
344 344   <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
345 345   <td class="style1">
346 - <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">
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">
347 347   </select>
348 348   </td>
349 349   </tr>
... ... @@ -350,7 +350,7 @@
350 350   <tr>
351 351   <td align="left" class="style1">Registered Business Address - City:</td>
352 352   <td class="style1">
353 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
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">
354 354   </select>
355 355   </td>
356 356   </tr>
... ... @@ -357,7 +357,7 @@
357 357   <tr>
358 358   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
359 359   <td class="style1">
360 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
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">
361 361   </select>
362 362   </td>
363 363   </tr>
... ... @@ -364,7 +364,7 @@
364 364   <tr>
365 365   <td align="left" class="style1">Registered Business Address - Province or State:</td>
366 366   <td class="style1">
367 - <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">
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">
368 368   </select>
369 369   </td>
370 370   </tr>
... ... @@ -371,7 +371,7 @@
371 371   <tr>
372 372   <td align="left" class="style1">Registered Business Address - Country:</td>
373 373   <td class="style1">
374 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
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">
375 375   </select>
376 376   </td>
377 377   </tr>
... ... @@ -441,9 +441,39 @@
441 441  You have entered the following information to register to the CEC Scheme:
442 442   {{html wiki=false clean=false}}
443 443   <form action="" class="xformInline" method="post" name="User Registration Form">
444 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
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">
445 445   <col style="width:30%">
446 446   <col style="width:70%">
540 + <th colspan = "2">
541 + <b>Company Information</b>
542 + </th>
447 447   <tr>
448 448   <td align="left" class="style1">Company name:</td>
449 449   <td class="style1">
... ... @@ -452,6 +452,45 @@
452 452   </td>
453 453   </tr>
454 454   <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>
455 455   <td align="hidden" class="style1">Title:</td>
456 456   <td class="style1">
457 457   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
© 2022 TruCert Assessment Services Inc.
V01-00