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

Summary

Details

Page properties
Content
... ... @@ -38,11 +38,7 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 - strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
42 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
43 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
44 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
45 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
46 46   strTitle = services.cleanStr.alphanum(request.title)
47 47   strFirstname = services.cleanStr.alphanum(request.firstname)
48 48   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -51,6 +51,7 @@
51 51   strLphone = services.cleanStr.numphone(request.lphone)
52 52   strMphone = services.cleanStr.numphone(request.mphone)
53 53   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
54 54   strEmail2 = services.cleanStr.alphanum(request.email2)
55 55   strCreateTime = java.time.ZonedDateTime.now()
56 56   strCreateIP = request.remoteAddr
... ... @@ -62,11 +62,6 @@
62 62   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
63 63   """(
64 64   companyname,
65 - companyaddress,
66 - companycity,
67 - companypostcode,
68 - companyprovince,
69 - companycountry,
70 70   title,
71 71   firstname,
72 72   lastname,
... ... @@ -82,11 +82,6 @@
82 82   confemailsentcode)
83 83   VALUES(
84 84   '$strCompanyName',
85 - '$strCompanyAddress',
86 - '$strCompanyCity',
87 - '$strCompanyPostcode',
88 - '$strCompanyProvince',
89 - '$strCompanyCountry',
90 90   '$strTitle',
91 91   '$strFirstname',
92 92   '$strLastname',
... ... @@ -108,11 +108,6 @@
108 108   """
109 109   SET
110 110   companyname = '$strCompanyName',
111 - companyaddress = '$strCompanyAddress',
112 - companycity = '$strCompanyCity',
113 - companypostcode = '$strCompanyPostcode',
114 - companyprovince = '$strCompanyProvince',
115 - companycountry = '$strCompanyCountry',
116 116   title = '$strTitle',
117 117   firstname = '$strFirstname',
118 118   lastname = '$strLastname',
... ... @@ -135,12 +135,7 @@
135 135   strEmailBody = "Dear " + strPrefname + ","
136 136   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"
137 137   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
138 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
139 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
140 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
141 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
142 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
143 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
144 144   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
145 145   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
146 146   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -154,11 +154,6 @@
154 154   xcontext.put("strEmailBody",strEmailBody)
155 155  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
156 156   xcontext.put("strCompanyName",strCompanyName)
157 - xcontext.put("strCompanyName",strCompanyAddress)
158 - xcontext.put("strCompanyName",strCompanyCity)
159 - xcontext.put("strCompanyName",strCompanyPostcode)
160 - xcontext.put("strCompanyName",strCompanyProvince)
161 - xcontext.put("strCompanyName",strCompanyCountry)
162 162   xcontext.put("strTitle",strTitle)
163 163   xcontext.put("strFirstname",strFirstname)
164 164   xcontext.put("strLastname",strLastname)
... ... @@ -173,11 +173,6 @@
173 173   }
174 174   if (strEditCommand == "Proceed"){
175 175   xcontext.put("strCompanyName",strCompanyName)
176 - xcontext.put("strCompanyName",strCompanyAddress)
177 - xcontext.put("strCompanyName",strCompanyCity)
178 - xcontext.put("strCompanyName",strCompanyPostcode)
179 - xcontext.put("strCompanyName",strCompanyProvince)
180 - xcontext.put("strCompanyName",strCompanyCountry)
181 181   xcontext.put("strTitle",strTitle)
182 182   xcontext.put("strFirstname",strFirstname)
183 183   xcontext.put("strLastname",strLastname)
... ... @@ -192,11 +192,6 @@
192 192   }
193 193   if (strEditCommand == "Correct"){
194 194   xcontext.put("strCompanyName",strCompanyName)
195 - xcontext.put("strCompanyName",strCompanyAddress)
196 - xcontext.put("strCompanyName",strCompanyCity)
197 - xcontext.put("strCompanyName",strCompanyPostcode)
198 - xcontext.put("strCompanyName",strCompanyProvince)
199 - xcontext.put("strCompanyName",strCompanyCountry)
200 200   xcontext.put("strTitle",strTitle)
201 201   xcontext.put("strFirstname",strFirstname)
202 202   xcontext.put("strLastname",strLastname)
... ... @@ -219,40 +219,10 @@
219 219   ##$xcontext.strFormStatus
220 220   #if( $xcontext.strFormStatus == "DataEntry" )
221 221   {{html wiki=false clean=false}}
222 -<head>
223 -<style>
224 -#cecTable {
225 - font-family: Arial, Helvetica, sans-serif;
226 - border-collapse: collapse;
227 - border-color: #007d84
228 - width: 100%;
229 -}
230 -
231 -#cecTable td, #cecTable th {
232 - border: 1px solid #007d84;
233 - padding: 8px;
234 -}
235 -
236 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
237 -
238 -#cecTable tr:hover {background-color: #ddd;}
239 -
240 -#cecTable th {
241 - padding-top: 12px;
242 - padding-bottom: 12px;
243 - text-align: left;
244 - background-color: #007d84;
245 - color: white;
246 -}
247 -</style>
248 -</head>
249 - <form action="" class="xformInline" method="post" name="Contact Edit Form">
250 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
184 + <form action="" class="xformInline" method="post" name="User Registration Form">
185 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
251 251   <col style="width:30%">
252 - <col style="width:70%">
253 - <th colspan = "2">
254 - <b>Company Information</b>
255 - </th>
187 + <col style="width:70%">
256 256   <tr>
257 257   <td align="left" class="style1">Company name:</td>
258 258   <td class="style1">
... ... @@ -270,7 +270,7 @@
270 270   <tr>
271 271   <td align="left" class="style1">Registered Business Address - City:</td>
272 272   <td class="style1">
273 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
205 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="50">
274 274   </select>
275 275   </td>
276 276   </tr>
... ... @@ -277,7 +277,7 @@
277 277   <tr>
278 278   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
279 279   <td class="style1">
280 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
212 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="10">
281 281   </select>
282 282   </td>
283 283   </tr>
... ... @@ -284,21 +284,11 @@
284 284   <tr>
285 285   <td align="left" class="style1">Registered Business Address - Province or State:</td>
286 286   <td class="style1">
287 - <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">
219 + <input type="text" id="companycity" name="companycity" placeholder="Enter the Province or State part of your company's registered business address, leave empty if not applicable" size="100">
288 288   </select>
289 289   </td>
290 290   </tr>
291 291   <tr>
292 - <td align="left" class="style1">Registered Business Address - Country:</td>
293 - <td class="style1">
294 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
295 - </select>
296 - </td>
297 - </tr>
298 - <th colspan = "2">
299 - <b>Your Contact Information</b>
300 - </th>
301 - <tr>
302 302   <td align="left" class="style1">Title:</td>
303 303   <td class="style1">
304 304   <input type="text" id="title" name="title" placeholder="Enter your title (Ms, Mr, Dr, etc)" size="30">
... ... @@ -365,12 +365,9 @@
365 365   #if( $xcontext.strFormStatus == "DataCorrection" )
366 366   {{html wiki=false clean=false}}
367 367   <form action="" class="xformInline" method="post" name="User Registration Form">
368 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
290 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
369 369   <col style="width:30%">
370 370   <col style="width:70%">
371 - <th colspan = "2">
372 - <b>Company Information</b>
373 - </th>
374 374   <tr>
375 375   <td align="left" class="style1">Company name:</td>
376 376   <td class="style1">
... ... @@ -379,44 +379,6 @@
379 379   </td>
380 380   </tr>
381 381   <tr>
382 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
383 - <td class="style1">
384 - <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">
385 - </select>
386 - </td>
387 - </tr>
388 - <tr>
389 - <td align="left" class="style1">Registered Business Address - City:</td>
390 - <td class="style1">
391 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
392 - </select>
393 - </td>
394 - </tr>
395 - <tr>
396 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
397 - <td class="style1">
398 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
399 - </select>
400 - </td>
401 - </tr>
402 - <tr>
403 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
404 - <td class="style1">
405 - <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">
406 - </select>
407 - </td>
408 - </tr>
409 - <tr>
410 - <td align="left" class="style1">Registered Business Address - Country:</td>
411 - <td class="style1">
412 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
413 - </select>
414 - </td>
415 - </tr>
416 - <th colspan = "2">
417 - <b>Your Contact Information</b>
418 - </th>
419 - <tr>
420 420   <td align="left" class="style1">Title:</td>
421 421   <td class="style1">
422 422   <input type="text" id="title" name="title" placeholder="Enter your title" value="${xcontext.strTitle}" size="20">
... ... @@ -570,13 +570,6 @@
570 570  <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>
571 571  
572 572  <input type="hidden" id="companyname" name="companyname" readonly value="${xcontext.strCompanyName}" size="50">
573 -
574 -<input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyAddress}" size="100">
575 -<input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyCity}" size="100">
576 -<input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
577 -<input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
578 -<input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
579 -
580 580  <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
581 581  <input type="hidden" id="firstname" name="firstname" readonly value="${xcontext.strFirstname}" size="50">
582 582  <input type="hidden" id="lastname" name="lastname" readonly value="${xcontext.strLastname}" size="50">
© 2022 TruCert Assessment Services Inc.
V01-00