|
76 | 76 | <h1>Envato Toolkit - Test Results</h1> |
77 | 77 | <div class="content"> |
78 | 78 | <?php if ($errorMessage != ""): ?> |
79 | | - <div class="info-message error-message"><?php print($errorMessage); ?></div> |
| 79 | + <div class="info-message error-message"><?=$errorMessage;?></div> |
80 | 80 | <?php elseif ($okayMessage != ""): ?> |
81 | | - <div class="info-message okay-message"><?php print($okayMessage); ?></div> |
| 81 | + <div class="info-message okay-message"><?=$okayMessage;?></div> |
82 | 82 | <?php endif; ?> |
83 | 83 | <div class="results-box"> |
84 | 84 | <h2>Details about you</h2> |
85 | 85 | <p> |
86 | 86 | <strong>List of all different plugins you bought:</strong><br /> |
87 | 87 | <?php foreach($plugins AS $pluginId => $plugin): ?> |
88 | | - <?php print('Plugin Id: '.$pluginId.', Name: '.$plugin['name']); ?>, Licenses:<br /> |
| 88 | + <?='Plugin Id: '.$pluginId.', Name: '.$plugin['name'];?>, Licenses:<br /> |
89 | 89 | <?php foreach($plugin['licenses'] AS $license): ?> |
90 | 90 | <em> |
91 | | - Code: <?php print($license['purchase_code']); ?>, |
92 | | - Type: <?php print($license['license_type']); ?>, |
93 | | - Purchased: <?php print($license['license_purchase_date']); ?>, |
94 | | - Expires: <?php print($license['support_expiration_date']); ?>, |
95 | | - Status: <?php print($license['support_active'] == 1 ? "Supported" : "Support Expired"); ?> |
| 91 | + Code: <?=$license['purchase_code'];?>, |
| 92 | + Type: <?=$license['license_type'];?>, |
| 93 | + Purchased: <?=$license['license_purchase_date'];?>, |
| 94 | + Expires: <?=$license['support_expiration_date'];?>, |
| 95 | + Status: <?=$license['support_active'] == 1 ? "Supported" : "Support Expired";?> |
96 | 96 | </em> |
97 | 97 | <br /> |
98 | 98 | <?php endforeach; ?> |
|
102 | 102 | <p> |
103 | 103 | <strong>List of all different themes you bought:</strong><br /> |
104 | 104 | <?php foreach($themes AS $themeId => $theme): ?> |
105 | | - <?php print('Theme Id: '.$themeId.', Name: '.$theme['name']); ?>, Licenses:<br /> |
| 105 | + <?='Theme Id: '.$themeId.', Name: '.$theme['name'];?>, Licenses:<br /> |
106 | 106 | <?php foreach($theme['licenses'] AS $license): ?> |
107 | 107 | <em> |
108 | | - Code: <?php print($license['purchase_code']); ?>, |
109 | | - Type: <?php print($license['license_type']); ?>, |
110 | | - Purchased: <?php print($license['license_purchase_date']); ?>, |
111 | | - Expires: <?php print($license['support_expiration_date']); ?>, |
112 | | - Status: <?php print($license['support_active'] == 1 ? "Supported" : "Support Expired"); ?> |
| 108 | + Code: <?=$license['purchase_code'];?>, |
| 109 | + Type: <?=$license['license_type'];?>, |
| 110 | + Purchased: <?=$license['license_purchase_date'];?>, |
| 111 | + Expires: <?=$license['support_expiration_date'];?>, |
| 112 | + Status: <?=$license['support_active'] == 1 ? "Supported" : "Support Expired";?> |
113 | 113 | </em> |
114 | 114 | <br /> |
115 | 115 | <?php endforeach; ?> |
|
118 | 118 | </p> |
119 | 119 | <p> |
120 | 120 | <strong>Your summary:</strong><br /> |
121 | | - Your location is <strong><?php print($authorCity); ?></strong>, <strong><?php print($authorCountry); ?></strong>. |
122 | | - You've sold your items <?php print($authorSales); ?> times |
123 | | - and you have <?php print($authorFollowers); ?> followers on Envato. |
| 121 | + Your location is <strong><?=$authorCity;?></strong>, <strong><?=$authorCountry;?></strong>. |
| 122 | + You've sold your items <?=$authorSales;?> times |
| 123 | + and you have <?=$authorFollowers;?> followers on Envato. |
124 | 124 | </p> |
125 | 125 | <div class="clear"> </div> |
126 | 126 |
|
|
129 | 129 | <h2>1. Your Customer's License Details</h2> |
130 | 130 | <?php if($showLicenseDetails): ?> |
131 | 131 | <ul> |
132 | | - <li>Purchase Code: <?php print($targetPurchaseCode); ?></li> |
133 | | - <li>Is Valid License: <?php print($isValidTargetLicense ? 'Yes' : 'No'); ?></li> |
134 | | - <li>Buyer Username: <?php print($targetLicenseBuyer); ?></li> |
135 | | - <li>License Type: <?php print($targetLicenseType); ?></li> |
136 | | - <li>Purchased At: <?php print($targetLicensePurchaseDate); ?></li> |
137 | | - <li>Supported Until: <?php print($targetLicenseSupportExpiration); ?></li> |
138 | | - <li>Status: <?php print($targetLicenseSupportActive == 1 ? "Supported" : "Support Expired"); ?></li> |
| 132 | + <li>Purchase Code: <?=$targetPurchaseCode;?></li> |
| 133 | + <li>Is Valid License: <?=$isValidTargetLicense ? 'Yes' : 'No';?></li> |
| 134 | + <li>Buyer Username: <?=$targetLicenseBuyer;?></li> |
| 135 | + <li>License Type: <?=$targetLicenseType;?></li> |
| 136 | + <li>Purchased At: <?=$targetLicensePurchaseDate;?></li> |
| 137 | + <li>Supported Until: <?=$targetLicenseSupportExpiration;?></li> |
| 138 | + <li>Status: <?=$targetLicenseSupportActive == 1 ? "Supported" : "Support Expired";?></li> |
139 | 139 | </ul> |
140 | 140 | <?php endif; ?> |
141 | 141 | <div class="clear"> </div> |
142 | 142 | <?php endif; ?> |
143 | 143 |
|
144 | 144 | <!-- ---------------------------------------------------------- --> |
145 | 145 | <?php if($targetUsername != ''): ?> |
146 | | - <h2>2. Details About Target Envato User - <?php print($targetUsername); ?></h2> |
| 146 | + <h2>2. Details About Target Envato User - <?=$targetUsername;?></h2> |
147 | 147 | <p> |
148 | | - <strong><?php print($targetUsername); ?></strong> is located in <strong><?php print($targetUserCity); ?></strong>, |
149 | | - <strong><?php print($targetUserCountry); ?></strong>. He sold his items <?php print($targetUserSales); ?> times |
150 | | - and has <?php print($targetUserFollowers); ?> followers on Envato. |
| 148 | + <strong><?=$targetUsername;?></strong> is located in <strong><?=$targetUserCity;?></strong>, |
| 149 | + <strong><?=$targetUserCountry;?></strong>. He sold his items <?=$targetUserSales;?> times |
| 150 | + and has <?=$targetUserFollowers;?> followers on Envato. |
151 | 151 | </p> |
152 | 152 | <div class="clear"> </div> |
153 | 153 | <?php endif; ?> |
154 | 154 |
|
155 | 155 | <!-- ---------------------------------------------------------- --> |
156 | 156 | <?php if($targetPluginId > 0): ?> |
157 | | - <h2>3. Status of Purchased Plugin ID - <?php print($targetPluginId); ?></h2> |
| 157 | + <h2>3. Status of Purchased Plugin ID - <?=$targetPluginId;?></h2> |
158 | 158 | <ul> |
159 | | - <li>Plugin Name: <?php print($nameOfTargetPluginId); ?></li> |
160 | | - <li>Plugin Update Available: <?php print($pluginUpdateAvailable ? 'Yes' : 'No'); ?></li> |
161 | | - <li>Installed Plugin Version: <?php print($installedPluginVersion); ?></li> |
162 | | - <li>Available Plugin Version: <?php print($availablePluginVersion); ?></li> |
| 159 | + <li>Plugin Name: <?=$nameOfTargetPluginId;?></li> |
| 160 | + <li>Plugin Update Available: <?=$pluginUpdateAvailable ? 'Yes' : 'No';?></li> |
| 161 | + <li>Installed Plugin Version: <?=$installedPluginVersion;?></li> |
| 162 | + <li>Available Plugin Version: <?=$availablePluginVersion;?></li> |
163 | 163 | <?php if($pluginUpdateDownloadUrl != ''): ?> |
164 | 164 | <li>Plugin Update Download URL: |
165 | | - <a href="<?php print($pluginUpdateDownloadUrl); ?>" target="_blank" title="Download newest version">Download newest version</a> |
| 165 | + <a href="<?=$pluginUpdateDownloadUrl;?>" target="_blank" title="Download newest version">Download newest version</a> |
166 | 166 | </li> |
167 | 167 | <?php endif; ?> |
168 | 168 | </ul> |
|
171 | 171 |
|
172 | 172 | <!-- ---------------------------------------------------------- --> |
173 | 173 | <?php if($targetThemeId > 0): ?> |
174 | | - <h2>4. Status of Purchased Theme ID - <?php print($targetThemeId); ?></h2> |
| 174 | + <h2>4. Status of Purchased Theme ID - <?=$targetThemeId;?></h2> |
175 | 175 | <ul> |
176 | | - <li>Theme Name: <?php print($nameOfTargetThemeId); ?></li> |
177 | | - <li>Theme Update Available: <?php print($themeUpdateAvailable ? 'Yes' : 'No'); ?></li> |
178 | | - <li>Installed Theme Version: <?php print($installedThemeVersion); ?></li> |
179 | | - <li>Available Theme Version: <?php print($availableThemeVersion); ?></li> |
| 176 | + <li>Theme Name: <?=$nameOfTargetThemeId;?></li> |
| 177 | + <li>Theme Update Available: <?=$themeUpdateAvailable ? 'Yes' : 'No';?></li> |
| 178 | + <li>Installed Theme Version: <?=$installedThemeVersion;?></li> |
| 179 | + <li>Available Theme Version: <?=$availableThemeVersion;?></li> |
180 | 180 | <?php if($themeUpdateDownloadUrl != ''): ?> |
181 | 181 | <li>Theme Update Download URL: |
182 | | - <a href="<?php print($themeUpdateDownloadUrl); ?>" target="_blank" title="Download newest version">Download newest version</a> |
| 182 | + <a href="<?=$themeUpdateDownloadUrl;?>" target="_blank" title="Download newest version">Download newest version</a> |
183 | 183 | </li> |
184 | 184 | <?php endif; ?> |
185 | 185 | </ul> |
|
190 | 190 | <?php if($targetPluginName != '' && $targetPluginAuthor != ''): ?> |
191 | 191 | <h2>5. Envato Item Id of Purchased Plugin</h2> |
192 | 192 | <ul> |
193 | | - <li>Searched for Name: <?php print($targetPluginName); ?></li> |
194 | | - <li>Searched for Author: <?php print($targetPluginAuthor); ?></li> |
195 | | - <li>Found Plugin Id: <?php print($foundPluginId); ?></li> |
| 193 | + <li>Searched for Name: <?=$targetPluginName;?></li> |
| 194 | + <li>Searched for Author: <?=$targetPluginAuthor;?></li> |
| 195 | + <li>Found Plugin Id: <?=$foundPluginId;?></li> |
196 | 196 | </ul> |
197 | 197 | <div class="clear"> </div> |
198 | 198 | <?php endif; ?> |
|
201 | 201 | <?php if($targetThemeName != '' && $targetThemeAuthor != ''): ?> |
202 | 202 | <h2>6. Envato Item Id of Purchased Theme</h2> |
203 | 203 | <ul> |
204 | | - <li>Searched for Name: <?php print($targetThemeName); ?></li> |
205 | | - <li>Searched for Author: <?php print($targetThemeAuthor); ?></li> |
206 | | - <li>Found Theme Id: <?php print($foundThemeId); ?></li> |
| 204 | + <li>Searched for Name: <?=$targetThemeName;?></li> |
| 205 | + <li>Searched for Author: <?=$targetThemeAuthor;?></li> |
| 206 | + <li>Found Theme Id: <?=$foundThemeId;?></li> |
207 | 207 | </ul> |
208 | 208 | <?php endif; ?> |
209 | 209 |
|
210 | 210 | <div class="action-buttons"> |
211 | | - <button type="submit" class="back-button" onclick="window.location.href='<?php print($goBackUrl); ?>'">Back</button> |
| 211 | + <button type="submit" class="back-button" onclick="window.location.href='<?=$goBackUrl;?>'">Back</button> |
212 | 212 | </div> |
213 | 213 | </div> |
214 | 214 | </div> |
|
0 commit comments