M(){ mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' -N -e "$1" 2>/dev/null; }
echo '== _presql =='
M 'DESCRIBE glarkru._presql' | cut -f1,2 | tr '\n' ' '
echo
M 'SELECT * FROM glarkru._presql LIMIT 10' | cut -c1-220
echo '== mail_temp =='
M 'SELECT * FROM glarkru.mail_temp LIMIT 5' | cut -c1-220
echo '== promocodes =='
M 'SELECT * FROM glarkru.promocodes LIMIT 5' | cut -c1-220
echo '== admin auth refs =='
cd /var/www/glarkru/data/www/glark.ru
grep -rniE 'admin|password' --include='*.php' apps/ core/ 2>/dev/null | grep -iE 'check|login|auth|==|compare|where.*admin|SELECT.*admin|password.*admin|admin.*password' | grep -viE 'PHPMailer|\.min\.|assets' | head -20
