<?php
if ($query2=='all') include($admpath.'finance/history_all.php');
if ($query2=='user') include($admpath.'finance/history_user.php');
print '<a href="?'.$id.'/finance/history/all">Все операции</a><br/>';
print '<a href="?'.$id.'/finance/history/user">Пользователя</a><br/>';
exit;
?>