![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/soundstudiopro.com/public_html/ |
<?php
// Cleanup script for charts setup files
// Run this after you've successfully generated chart data
$files_to_remove = [
'setup_charts.php',
'create_sample_users.php',
'generate_chart_data.php',
'cleanup_charts_setup.php'
];
echo "<h1>๐งน Cleaning up Charts Setup Files</h1>";
foreach ($files_to_remove as $file) {
if (file_exists($file)) {
if (unlink($file)) {
echo "<p>โ
Removed: {$file}</p>";
} else {
echo "<p>โ Failed to remove: {$file}</p>";
}
} else {
echo "<p>โญ๏ธ File not found: {$file}</p>";
}
}
echo "<h2>๐ Cleanup complete!</h2>";
echo "<p>Your charts page is now ready with sample data.</p>";
echo "<p><a href='/charts.php' style='color: #667eea; text-decoration: none;'>View Charts โ</a></p>";
?>
<style>
body {
font-family: 'Inter', sans-serif;
background: #0a0a0a;
color: white;
padding: 2rem;
line-height: 1.6;
}
h1 {
color: #667eea;
margin-bottom: 2rem;
}
h2 {
color: #764ba2;
margin-top: 2rem;
}
p {
margin: 0.5rem 0;
}
a {
color: #667eea;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>