Changeset 181
- Timestamp:
- 03/07/06 22:23:31 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/control.php (modified) (6 diffs, 1 prop)
- eaccelerator/trunk/dasm.php (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r180 r181 6 6 * In restore_zval the zval length could be something else then 0 when 7 7 an empty string was set. 8 * Removed the shorttags in control.php and dasm.php to fix bug #8. 8 9 9 10 2006-03-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> eaccelerator/trunk/control.php
- Property svn:keywords set to svn:eol-style
r178 r181 74 74 <tr> 75 75 <?php if (function_exists('eaccelerator_dasm_file')) { ?> 76 <td class="e"><a href="dasm.php?file=<? = $script['file']; ?>"><?=$script['file']; ?></a></td>76 <td class="e"><a href="dasm.php?file=<?php echo $script['file']; ?>"><?php echo $script['file']; ?></a></td> 77 77 <?php } else { ?> 78 <td class="e"><? =$script['file']; ?></td>78 <td class="e"><?php echo $script['file']; ?></td> 79 79 <?php } ?> 80 <td class="vr"><? =date('Y-m-d H:i', $script['mtime']); ?></td>81 <td class="vr"><? =number_format($script['size'] / 1024, 2); ?>KB</td>82 <td class="vr"><? = $script['reloads']; ?> (<?=$script['usecount']; ?>)</td>83 <td class="vr"><? =$script['hits']; ?></td>80 <td class="vr"><?php echo date('Y-m-d H:i', $script['mtime']); ?></td> 81 <td class="vr"><?php echo number_format($script['size'] / 1024, 2); ?>KB</td> 82 <td class="vr"><?php echo $script['reloads']; ?> (<?php echo $script['usecount']; ?>)</td> 83 <td class="vr"><?php echo $script['hits']; ?></td> 84 84 </tr> 85 85 <?php } ?> … … 103 103 ?> 104 104 <tr> 105 <td class="e"><? =$key['name']; ?></td>106 <td class="vr"><? =date('Y-m-d H:i', $key['created']); ?></td>107 <td class="vr"><? =number_format($key['size']/1024, 3); ?>KB</td>105 <td class="e"><?php echo $key['name']; ?></td> 106 <td class="vr"><?php echo date('Y-m-d H:i', $key['created']); ?></td> 107 <td class="vr"><?php echo number_format($key['size']/1024, 3); ?>KB</td> 108 108 <td class="vr"><?php 109 109 if ($key['ttl'] == -1) { … … 165 165 <?php print_header(); ?> 166 166 <body class="center"> 167 <h1>eAccelerator <? =$info['version']; ?> control panel</h1>167 <h1>eAccelerator <?php echo $info['version']; ?> control panel</h1> 168 168 169 169 <!-- {{{ information --> … … 172 172 <tr> 173 173 <td class="e">Caching enabled</td> 174 <td><? =$info['cache'] ? 'yes':'no' ?></td>174 <td><?php echo $info['cache'] ? 'yes':'no' ?></td> 175 175 </tr> 176 176 <tr> 177 177 <td class="e">Optimizer enabled</td> 178 <td><? =$info['optimizer'] ? 'yes':'no' ?></td>178 <td><?php echo $info['optimizer'] ? 'yes':'no' ?></td> 179 179 </tr> 180 180 <tr> 181 181 <td class="e">Memory usage</td> 182 <td><? =number_format(100 * $info['memoryAllocated'] / $info['memorySize'], 2); ?>%183 (<? =number_format($info['memoryAllocated'] / (1024*1024), 2); ?>MB/184 <? =number_format($info['memorySize'] / (1024*1024), 2); ?>MB)</td>182 <td><?php echo number_format(100 * $info['memoryAllocated'] / $info['memorySize'], 2); ?>% 183 (<?php echo number_format($info['memoryAllocated'] / (1024*1024), 2); ?>MB/ 184 <?php echo number_format($info['memorySize'] / (1024*1024), 2); ?>MB)</td> 185 185 </tr> 186 186 <tr> 187 187 <td class="e">Free memory</td> 188 <td><? =number_format($info['memoryAvailable'] / (1024*1024), 2); ?>MB</td>188 <td><?php echo number_format($info['memoryAvailable'] / (1024*1024), 2); ?>MB</td> 189 189 </tr> 190 190 <tr> 191 191 <td class="e">Cached scripts</td> 192 <td><? =$info['cachedScripts']; ?></td>192 <td><?php echo $info['cachedScripts']; ?></td> 193 193 </tr> 194 194 <tr> 195 195 <td class="e">Removed scripts</td> 196 <td><? =$info['removedScripts']; ?></td>196 <td><?php echo $info['removedScripts']; ?></td> 197 197 </tr> 198 198 <tr> 199 199 <td class="e">Cached keys</td> 200 <td><? =$info['cachedKeys']; ?></td>200 <td><?php echo $info['cachedKeys']; ?></td> 201 201 </tr> 202 202 </table> … … 209 209 <tr> 210 210 <td class="e">Caching</td> 211 <td><input type="submit" name="caching" value="<? =$info['cache']?'disable':'enable'; ?>" /></td>211 <td><input type="submit" name="caching" value="<?php echo $info['cache']?'disable':'enable'; ?>" /></td> 212 212 </tr> 213 213 <tr> 214 214 <td class="e">Optimizer</td> 215 <td><input type="submit" name="optimizer" value="<? =$info['optimizer']?'disable':'enable'; ?>" /></td>215 <td><input type="submit" name="optimizer" value="<?php echo $info['optimizer']?'disable':'enable'; ?>" /></td> 216 216 </tr> 217 217 <tr> … … 248 248 <table> 249 249 <tr><td class="center"> 250 <a href="http://eaccelerator.net"><img src="?=<? =$info['logo']; ?>" alt="eA logo" /></a>250 <a href="http://eaccelerator.net"><img src="?=<?php echo $info['logo']; ?>" alt="eA logo" /></a> 251 251 <strong>Created by the eAccelerator team, <a href="http://eaccelerator.net">http://eaccelerator.net</a></strong><br /><br /> 252 <nobr>eAccelerator <? = $info['version']; ?> [shm:<?= $info['shm_type']?> sem:<?=$info['sem_type']; ?>]</nobr><br />253 <nobr>PHP <? = phpversion();?> [ZE <?=zend_version(); ?>]</nobr><br />254 <nobr>Using <? = php_sapi_name();?> on <?=php_uname(); ?></nobr><br />252 <nobr>eAccelerator <?php echo $info['version']; ?> [shm:<?php echo $info['shm_type']?> sem:<?php echo $info['sem_type']; ?>]</nobr><br /> 253 <nobr>PHP <?php echo phpversion();?> [ZE <?php echo zend_version(); ?>]</nobr><br /> 254 <nobr>Using <?php echo php_sapi_name();?> on <?php echo php_uname(); ?></nobr><br /> 255 255 </td></tr> 256 256 </table> eaccelerator/trunk/dasm.php
- Property svn:keywords set to svn:eol-style
r178 r181 86 86 <?php foreach($op_array as $n => $opline) { ?> 87 87 <tr> 88 <td class="e"><? =$n; ?></td>89 <td><nobr><? =$opline['opcode']; ?></nobr></td>90 <td><nobr><? =$opline['extended_value']; ?></nobr></td>91 <td><nobr><? =convert_string($opline['op1'], 50); ?></nobr></td>92 <td><nobr><? =convert_string($opline['op2'], 50); ?></nobr></td>93 <td><nobr><? =convert_string($opline['result'], 50); ?></nobr></td>88 <td class="e"><?php echo $n; ?></td> 89 <td><nobr><?php echo $opline['opcode']; ?></nobr></td> 90 <td><nobr><?php echo $opline['extended_value']; ?></nobr></td> 91 <td><nobr><?php echo convert_string($opline['op1'], 50); ?></nobr></td> 92 <td><nobr><?php echo convert_string($opline['op2'], 50); ?></nobr></td> 93 <td><nobr><?php echo convert_string($opline['result'], 50); ?></nobr></td> 94 94 </tr> 95 95 <?php } ?>