author | Anthony Ly <anthonyly.com@gmail.com> |
Wed, 19 Dec 2012 17:46:52 -0800 | |
changeset 204 | 09a1c134465b |
parent 195 | c7c0fbc09788 |
permissions | -rw-r--r-- |
195
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
1 |
<?php |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
2 |
/*USED FOR DIAGNOSTICS FOR DEBUGGING*/ |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
3 |
ob_start(); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
4 |
phpinfo(); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
5 |
$serverinfo = ob_get_contents(); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
6 |
ob_end_clean(); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
7 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
8 |
$serverinfo = preg_replace( '%^.*<body>(.*)</body>.*$%ms', '$1', $serverinfo); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
9 |
$serverinfo = preg_replace( '%^.*<title>(.*)</title>.*$%ms','$1', $serverinfo); |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
10 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
11 |
?> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
12 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
13 |
<div class="wrap"> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
14 |
<form id="form-duplicator" method="post"> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
15 |
<!-- h2 requred here for general system messages --> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
16 |
<h2 style='display:none'></h2> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
17 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
18 |
<div class="dup-header widget" style="margin-bottom:5px"> |
204
09a1c134465b
man wordpress + plugins order post + slideshow
Anthony Ly <anthonyly.com@gmail.com>
parents:
195
diff
changeset
|
19 |
<!-- !!DO NOT CHANGE OR EDIT PRODUCT NAME!! |
09a1c134465b
man wordpress + plugins order post + slideshow
Anthony Ly <anthonyly.com@gmail.com>
parents:
195
diff
changeset
|
20 |
If your interested in Private Label Rights please contact us at the URL below to discuss |
09a1c134465b
man wordpress + plugins order post + slideshow
Anthony Ly <anthonyly.com@gmail.com>
parents:
195
diff
changeset
|
21 |
customizations to product labeling: http://lifeinthegrid.com/services/ --> |
195
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
22 |
<div style='float:left;height:45px'><img src="<?php echo DUPLICATOR_PLUGIN_URL ?>img/logo.png" style='text-align:top' /></div> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
23 |
<div style='float:left;height:45px; text-align:center;'> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
24 |
<h2 style='margin:-12px 0px -7px 0px; text-align:center; width:100%;'>Duplicator »<span style="font-size:18px"> <?php _e("Diagnostics", 'wpduplicator') ?></span> </h2> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
25 |
<i style='font-size:0.8em'><?php _e("By", 'wpduplicator') ?> <a href='http://lifeinthegrid.com/duplicator' target='_blank'>lifeinthegrid.com</a></i> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
26 |
</div> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
27 |
<div style='float:right; padding:5px 0px 0px 0px; white-space:nowrap'> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
28 |
<input type="button" id="btn-help-dialog" onclick='window.location.href="?page=duplicator_support_page"' title="<?php _e("Support", 'wpduplicator') ?>" /> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
29 |
<input type="button" id="dup-btn-about" onclick='window.location.href="?page=duplicator_about_page"' title="<?php _e("All About", 'wpduplicator') ?>" /> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
30 |
</div> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
31 |
<br style='clear:both' /> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
32 |
</div> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
33 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
34 |
<?php echo "<div id='dup-server-info-area'>{$serverinfo}</div>"; ?> |
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
35 |
|
c7c0fbc09788
ajout du plugin Duplicator
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
36 |
</div> |