����JFIF�����%%��� }!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������� w!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|��O�������h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@��o�E��/�?��ߵE_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ ?�z�����������goڢ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?��=[�Qg�����o����Q@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y�����[����TP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,���|-��v��(���� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�������;~��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@�������?�_�����j������ (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@��o�E��/�?��ߵE_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ ?�z�����������goڢ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?��=[�Qg�����o����Q@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y�����[����TP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,���|-��v��(���� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�������;~��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@�������?�_�����j������ (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@��o�E��/�?��ߵE_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ ?�z�����������goڢ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?��=[�Qg�����o����Q@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y�����[����TP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,��������ο�O�P��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@����(���g���Y������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���V��Y|����Y����UP��@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P����,�����,��u������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j���h�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� �@���o�E��?�?����ο�U_�P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@ _�z�����������g_ڪ�?��(�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (��?�/�=[�Qe�����g����U@��P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������k�w���~���v��������� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (�� (���տ�_�����:��T�~�@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@P@������/���?��j�?�5o�%��?��� g����U@�����&O3�����a�;�^=�wH���D��/��*� �fX�I���,������k?g_���?�5o�%��?��� g����U@�F�����������*������?�o�}��Τ~g��ʀ�#V��Y������~ο�T�j��K/� ������������z��������#;�~���A�;��� w�F�����������*���տ��_�@�o��5����EU������������u�誠��W��[�����������O��?jW���@��տ���@�o��5����EM������������v�訠�#V��Y�������������V��Zv��~����vw�~���c�Q@���,��~���kgo���?�5o�%��/��� o����Q@��o�%�>�ߤ���߳����S������?��o�%�~�ߠ�d�߳����S����g�P��j��K?� _������������[� g�D����[�;�TP7���������'Ѿ���=��;/�P��j��K?� _������������[� g�D����[�;�TP���,��~���kgo���a������۔���B{���ea�`T�+ �n%Ц �����j��K?� _������������[� g�D����[�;�TP���,��~���kgo����?���%�/�~�����#����x��c�~�q�v�t`ȫ��_'h���������'�]�;{s� Pp=N= 5���%�����ڜs�����=���J��A@�����Kp�b��}��X�����4g v+:�Բ�+60�ʩ,� @�����������I �uO�����ToUv��bgUl�cP�T?�#V��Y������������j��K?� _����������!��X��]���������TK�|4��`� ��#��P\y��aa >NgL��j��K?� _������������[� g�D����[�;�TP���,��~���kgo���o�F�����$��ہ�� ��vݞr6��S�q''*02���[� g�D����[�;�TP���,��~���kgo���?�5o�%��/��� o����Q@�F�����������*(��տ���@�o��5����EE������������v�訠��������~1�o���}G�L�������5o�%��/��� o����Q@�F�����������*(��տ���@�o��5����EE5����%�˷���r�v����y�\~���)(?0���=[� i����>��gc��N=����5o�%��/��� o����Q@�F�����������*(��W��Z�l����m#���X�wn_�j`0C6윅����5o�%��/��� o����Q@��տ��y9���gbO�G�5@�n�>���#V��Y������~ο�T��V��Y����9�gc��s�T.�?Z_��[� e�D����Y�:��UP���,������k?g_����_�=_� n�~~�rI������w�,"~ԓ�!72���)( u��#V��Y������~ο�T�j��K/� ��������������K
�����Kr_���}�De>~��Z=��pjX�n[p(�"� �a,Ub�/�×�<����;��<�����K>��o���[�:����V���,��$��ϧ�*�����5O����տ��_�@�o��5����EU5��o�%����?�ꜜm�_�;>Gbs�S�����@��տ��_�@�o��5����EU ��տ��}�~�����v?�������-��o�l��~�ȥ�v����r��B1���@��տ���A�?����ggP��c�S�`@%�*����տ��_�@�o��5����EU������������u�誠7���� O���!c�|0��ёv��4�+�X�Vx�RX3��8����K>��o���[�:���u#�x��#V��Y������~ο�T�j��K/� ������������[� e�D����Y�:��UP���,������k?g_���O��[� g�D����[�:��T��=_� k����~��k����c�;����.8����c��z��Ͽ�/��zc�o����F?Z_��[� e�D����Y�:��UP���,������k?g_���C���,�v����v�o���H������(�z���w�/�����v ��T.G��Ϡ���տ��_�@�o��5����EU������������u�誠��W��[��'����%��o���:�Cڕ�R̀���j���������?�o���[�;������g0q�?��o�%�>o�_��>�gf����~4�������������u�誠�z���7�/��o���������_��[� e�D����Y�:��UP���,������k?g_���C���,�|�����o��;�Ԟ��9�l�z��ؠ3|��O�X�~���;~�q����Z�F�����������*���տ��_�@�o��5����EU!��տ��}�~����-��G��I�T�������������u�誠�#V��Y������~ο�T�j��K/� ����������#�=_� n|���KbB�gtdM��"�ڒA#n�63�6�m�P�����,���/���gS�u����#�9��5o�%��?��� g����U@��o�%�o�_�����u��'�������?��o��� ���3��?go���|m�ڇ���-S�O��x��>���^�����7����x�]_�>�qke>���m��4��7P�Yހ��
0byt3m1n1
0byt3m1n1
Path:
/
hermes
/
bosweb
/
web
/
web
/
sb_web
/
web
/
web
/
sb_web
/
b2432
/
valphp.dailyroll.org
/
dailyroll
/
[
Home
]
File: groupreports.php
<?php session_start(); require_once 'class.user.php'; $user_home = new USER(); include "menu.php"; //echo"hgdfdhffdsfdsfdkjdhfjfdghdfjgfdjghfjdsggryewsfdsfdsfds"; $id= $_SESSION['userSession']; $unid=$_SESSION['unique_ID']; if (isset ($_POST['accountid'])){ $accid = $_POST['accountid']; } if (isset ($_POST['fromdate'])){ $fromdate = $_POST['fromdate']; } if (isset ($_POST['todate'])){ $todate = $_POST['todate']; $fromdate = $_POST['fromdate']; } if (isset ($_POST['gender'])){ $accid = $_POST['accountid']; $gender = $_POST['gender']; } if (isset ($_POST['subcat'])){ $accid = $_POST['accountid']; $gender = $_POST['gender']; $subcat = $_POST['subcat']; } if (isset ($_POST['accountid'])){ $accid = $_POST['category']; $category = $_POST['category']; $gender = $_POST['gender']; $subcat = $_POST['subcat']; } if(isset($_POST['freeze'])){ $accid=$_POST['accountid']; $date=$_POST['todate']; $sql="UPDATE `expenses` SET `freeze`='freeze' WHERE `account_id`='$accid' and `tr_date` <='$date'"; $stmt = $user_home->runQuery($sql); $stmt->execute(); $sql1="UPDATE `income` SET `freeze`='freeze' WHERE `account_id`='$accid' and `tr_date` <='$date'"; $stmt1 = $user_home->runQuery($sql1); $stmt1->execute(); $sql2="UPDATE `accounts` SET `freezedate`= '$date' WHERE `account_id`='$accid' "; $stmt2 = $user_home->runQuery($sql2); $stmt2->execute(); $msg = '<div class="alert alert-success alert-dismissible"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Account Freezed Successfully </div>'; } ?> <html> <head> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css"> </head> <body> <div class="content-wrapper"> <section class="content-header"> <h1> Group Reports <small></small> </h1> <ol class="breadcrumb"> <li><a href="dashboard.php"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active">Group Details</li> </ol> </section> <!-- Content Header (Page header) --> <div class="row"> <div class="col-md-1"></div> <div class="col-md-10"> </br></br> <div class="box box-warning box-solid"> <div class="box-header with-border"> <h3 class="box-title">Account reports</h3> <div class="box-tools pull-right"> </div> </div> <div class="box-body"> <form class="form-horizontal" action="" method="POST" > <div class="modal-body"> <div class="messages" ></div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name" class="col-sm-4 control-label">Account *</label> <div class="col-sm-8"> <select align="center" name ="accountid" id ="accountid" required onClick="getcountry(this.value)" class="form-control" > <?php $sql="SELECT * FROM `groups` WHERE `account_status`='active' and `added_user_id`='$id' and group_status='Y' group by `account_id` "; $stmt = $user_home->runQuery($sql); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $course = $user_home->get_accountdetails($row['account_id']); $accountname = $course['accountname']; ?> <option value= <?php echo $row['account_id'];?> <?php if($_POST['accountid'] == $row['account_id']) echo selected?> > <?php echo$accountname ?> </option> <?php } ?> </select> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="name" class="col-sm-3 control-label">Select Type * </label> <div class="col-sm-9"> <select name="gender" required onchange="this.form.submit()" class="form-control round-form round-form"> <option value = ''>Select type</option> <option value="Income" <?php if($_POST['gender'] == 'Income') echo "selected";?> >Income</option> <option value="Expenses" <?php if($_POST['gender'] == 'Expenses') echo "selected";?> >Expenses</option> </select> </div> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name" class="col-sm-4 control-label"> From Date * </label> <div class="col-sm-8"> <input type="date" name="fromdate" value="<?php echo $fromdate; ?>"required class="form-control" /> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="name" class="col-sm-3 control-label"> TO Date *</label> <div class="col-sm-9"> <input type="date" name="todate" value="<?php echo $todate; ?>" required class="form-control" /> </div> </div> </div> </div> <div class="row"> <label for="name" class="col-sm-2 control-label">Category</label> <div class="col-sm-10"> <select align="center" name ="category" id="state-list" onClick="getstate(this.value)" class="form-control"> <?php $gender = $_POST['gender']; $accountid=$_POST['accountid']; $sql1 ="SELECT * FROM `category` WHERE account_id ='$accountid' AND `cat_type`='$gender'"; $stmt1 = $user_home->runQuery($sql1); $stmt1->execute(); echo "<option value='all'> all </option>"; while($row1 = $stmt1->fetch(PDO::FETCH_ASSOC)){ ?> <option value="<?php echo $row1["cat_id"]; ?>"<?php if($_POST['category'] == $row1["cat_id"]) echo selected?>><?php echo $row1["cat_name"]; ?></option> <?php }?> </select> </div> </div> </br> <div class="row"> <label for="name" class="col-sm-2 control-label">Sub-Category</label> <div class="col-sm-10"> <select align="center" name="subcat" id="city-list" onChange="getamount(this.value)" class="form-control"> <?php $cat=$_POST['category']; $sql2 ="SELECT * FROM `sub_category` WHERE cat_id = '$cat' AND `status`='active'"; $stmt2 = $user_home->runQuery($sql2); $stmt2->execute(); echo "<option value='all'> all </option>"; while($row2 = $stmt2->fetch(PDO::FETCH_ASSOC)){ ?> <option value="<?php echo $row2["subcat_id"]; ?>" <?php if($_POST['subcat'] == $row2["subcat_id"]) echo selected?>><?php echo $row2["subcat_name"]; ?></option> <?php }?> </select> </div> </div> </br> <div class="form-group"> <label for="name" class="col-sm-2 control-label">Member name </label> <div class="col-sm-10"> <select align="center" required name="mid" id = "mid" class="form-control"> <?php $accid=$_POST['accountid']; $mysql = "SELECT * FROM `groups` WHERE `account_id` ='$accid'"; //echo $mysql; $stm = $user_home->runQuery($mysql); $stm->execute(); echo "<option value = 'all' > All</option>"; while($row1 = $stm->fetch(PDO::FETCH_ASSOC)) { $memberid = $row1['added_user_id']; $uname = $user_home->getuserdata($row1['added_user_id']); $member_name=$uname['name']; ?> <option value= <?php echo $memberid;?> <?php if($_POST['mid'] == $memberid) echo selected?> > <?php echo $member_name; ?> </option> <?php } ?> </select> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 control-label">Status</label> <div class="col-sm-10"> <select align="center" name ="status" id ="accountid" class="form-control" > <option value= "non-pending" <?php if($_POST['status'] == 'non-pending') echo selected?> > Non-Pending </option> <option value= "pending" <?php if($_POST['status'] == 'pending') echo selected?> >Pending </option> </select> </div> </div> </div> <div class="modal-footer"> <div class="col-sm-4"> </div> <div class="col-sm-4"> <button type="submit" name = "search" class="btn btn-primary">Search</button> <?php $accid=$_POST['accountid']; $acc=$user_home->get_accountdetails($accid); $accadmin=$acc['user_id']; if($accadmin ==$unid){ ?> <form action="" method="POST"> <input name="selectedaccountid" type="hidden" value="<?php echo $accid?>"> <input name="selectedtodate" type="hidden" value="<?php echo $todate?>"> <button type="submit" name = "freeze" style="float: right;" class="btn btn-primary">Freeze</button> <?php } ?> </div> <div class="col-sm-4"></div> </div> </form> </div> </div> <?php if(isset($_POST['search'])){ $accid = $_POST['accountid']; $stype=$_POST['gender']; $category=$_POST['category']; $subcat=$_POST['subcat']; $mid = $_POST['mid']; $fromdate = $_POST['fromdate']; $todate = $_POST['todate']; $status=$_POST['status']; $presentdate=date("Y-m-d"); /* if($rptype =='week'){ $ex_date = date('Y-m-d', strtotime("-1week", strtotime($presentdate))); }elseif($rptype =='month'){ $ex_date = date('Y-m-d', strtotime("-1month", strtotime($presentdate))); }elseif($rptype =='year'){ $ex_date = date('Y-m-d', strtotime("-12month", strtotime($presentdate))); }*/ if($stype=='Expenses'){ ?> <div class="box"> <div class="box-header"></div> <div class="box-body"> <br><br><br> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>s.no</th> <th>Date</th> <th>Account</th> <th>Member Name</th> <th>Category</th> <th>Sub-Category</th> <th>Description</th> <th>Amount</th> </tr> </thead> <tbody> <?php $i=1; //echo"shfjdsfghgdiyegy"; $sql = "SELECT b.name,a.amount,a.tr_date,c.accountname,c.account_id,d.cat_name,e.subcat_name,a.description,a.updateddate,a.updatedby FROM `expenses` a, users b, accounts c, category d, sub_category e WHERE a.capture_id = b.unique_id AND a.account_id =c.account_id AND a.cat_id= d.cat_id AND a.subcat_id=e.subcat_id AND a.`tr_date` BETWEEN '" . $fromdate . "' AND '" . $todate . "' and `pendingflag` ='$status'" ; $sql1 = "SELECT SUM(a.amount) as total FROM `expenses` a, users b, accounts c, category d, sub_category e WHERE a.capture_id = b.unique_id AND a.account_id =c.account_id AND a.cat_id= d.cat_id AND a.subcat_id=e.subcat_id AND a.`tr_date` BETWEEN '" . $fromdate . "' AND '" . $todate . "' and `pendingflag` ='$status'" ; // only account select. if($category =='all' AND $subcat=='all' AND $mid =='all' ){ $sql=$sql." AND a.`account_id`='$accid'"; $sql1=$sql1." AND a.`account_id`='$accid'"; } // select only member. else if($category =='all' AND $subcat=='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id'"; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id'"; } //select cat and member . else if($category !='all' AND $subcat=='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' "; } //select only cat. else if($category !='all' AND $subcat=='all' AND $mid =='all'){ $added_user_id=$mid; $sql=$sql." AND a.`account_id`='$accid' AND a.`cat_id`='$category' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`cat_id`='$category' "; } // if select cat subcat member. else if($category !='all' AND $subcat !='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; } // if select cat subcat. else if($category !='all' AND $subcat !='all' AND $mid =='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; } // echo"hfhsgdjshgdsjfghf"; //echo $sql; $stmt1 = $user_home->runQuery($sql1); $stmt1->execute(); $amount= $stmt1->fetch(PDO::FETCH_ASSOC); $stmt = $user_home->runQuery($sql); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $row2=$user_home->get_accountdetails($row['account_id']); $symbol=$row2['currcode']; $ss=$user_home->getCurrency_symbol($symbol); $des= substr($row['description'], 0, 40); $originalDate = $row['tr_date']; $newDate = date("d-m-Y", strtotime($originalDate)); $updatedname=$user_home->getuserdata($row['updatedby']); $name=$updatedname['name']; ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $newDate; ?></td> <td><?php echo $row['accountname']; ?></td> <td><?php echo $row['name']; ?></td> <td><?php echo $row['cat_name']; ?></td> <td><?php echo $row['subcat_name']; ?></td> <td><?php echo $des; ?></td> <td align='right'><?php echo $ss.' '.$row['amount']; ?></td> <?php $i++; } ?> </tr> </tbody> <tfoot> <tr> <th></th> <th></th> <th></th> <th></th> <th></th> <th></th> <th></th> <th>Total:<?php echo $ss.$amount['total']; ?></th> </tr> </tfoot> </table> </div> </form> <!-- /.box-body --> </div> <?php } else{ ?> <div class="box"> <div class="box-header"></div> <div class="box-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>s.no</th> <th>Date</th> <th>Account</th> <th>Member Name</th> <th>Category</th> <th>Sub-Category</th> <th>Description</th> <th>Income Amount</th> </tr> </thead> <tbody> <?php $i=1; $sql = "SELECT * FROM `income` a, users b, accounts c, category d, sub_category e WHERE a.capture_id = b.unique_id AND a.account_id =c.account_id AND a.cat_id= d.cat_id AND a.subcat_id=e.subcat_id AND a.`tr_date` BETWEEN '" . $fromdate . "' AND '" . $todate . "' and `pendingflag` ='$status' " ; $sql1 = "SELECT SUM(a.amount)as total FROM `expenses` a, users b, accounts c, category d, sub_category e WHERE a.capture_id = b.unique_id AND a.account_id =c.account_id AND a.cat_id= d.cat_id AND a.subcat_id=e.subcat_id AND a.`tr_date` BETWEEN '" . $fromdate . "' AND '" . $todate . "' and `pendingflag` ='$status' " ; if($category =='all' AND $subcat=='all' AND $mid =='all' ){ $sql=$sql." AND a.`account_id`='$accid'"; } // select only member. else if($category =='all' AND $subcat=='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id'"; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id'"; } //select cat and member . else if($category !='all' AND $subcat=='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' "; } //select only cat. else if($category !='all' AND $subcat=='all' AND $mid =='all'){ $added_user_id=$mid; $sql=$sql." AND a.`account_id`='$accid' AND a.`cat_id`='$category' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`cat_id`='$category' "; } // if select cat subcat member. else if($category !='all' AND $subcat !='all' AND $mid !='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`capture_id`='$capture_id' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; } // if select cat subcat. else if($category !='all' AND $subcat !='all' AND $mid =='all'){ $added_user_id=$mid; $userdata=$user_home->getuserdata($added_user_id); $capture_id=$userdata['unique_id']; $sql=$sql." AND a.`account_id`='$accid' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; $sql1=$sql1." AND a.`account_id`='$accid' AND a.`cat_id`='$category' and a.`subcat_id`='$subcat' "; } // echo"hfhsgdjshgdsjfghf"; //echo $sql; //echo $sql; $stmt1 = $user_home->runQuery($sql1); $stmt1->execute(); $amount= $stmt1->fetch(PDO::FETCH_ASSOC); $stmt = $user_home->runQuery($sql); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $row2=$user_home->get_accountdetails($row['account_id']); $symbol=$row2['currcode']; $ss=$user_home->getCurrency_symbol($symbol); $category_name=$user_home->get_subcategory($row['subcat_id']); $originalDate = $row['tr_date']; $des= substr($row['description'], 0, 20); $newDate = date("d-m-Y", strtotime($originalDate)); ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $newDate; ?></td> <td><?php echo $row['accountname']; ?></td> <td><?php echo $row['name']; ?></td> <td><?php echo $row['cat_name']; ?></td> <td><?php echo $row['subcat_name']; ?></td> <td><?php echo $des; ?></td> <td align='right'><?php echo $ss.' '.$row['income_amount']; ?></td> <?php $i++; } ?> </tr> </tbody> <tfoot> <tr> <th></th> <th></th> <th></th> <th></th> <th></th> <th></th> <th></th> <th>Total:<?php echo $ss.' '.$amount['total']; ?></th> </tr> </tfoot> </table> </div> <!-- /.box-body --> </div> <?php } } ?> </div> </div> </div> <?php include "footer.php"; ?> <script src="bower_components/jquery/dist/jquery.min.js"></script> <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script> <script src="bower_components/fastclick/lib/fastclick.js"></script> <script src="dist/js/adminlte.min.js"></script> <script src="dist/js/demo.js"></script> <script src="https://code.jquery.com/jquery-3.3.1.js"></script> <script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.flash.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.print.min.js"></script> <?php if($_POST['gender']=='Expenses'){ ?> <script> $(document).ready(function() { $('#example1').DataTable( { dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ] } ); } ); jQuery.support.cors = true; function getcountry(val) { //alert(val); $.ajax({ cache: false, type: "POST", url: "get_reportdropdown.php?q=0", data:'CountryID='+val, success: function(data){ $("#state-list").html(data); } }); } function getcountry1(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown.php?q=0", data:'CountryID='+val, success: function(data){ $("#state-list1").html(data); } }); } function getstate(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown.php?q=1", data:'state='+val, success: function(data){ $("#city-list").html(data); } }); } function getstate1(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown.php?q=1", data:'state='+val, success: function(data){ $("#city-list1").html(data); } }); } function gethospital(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown.php?q=3", data:'hospitalID='+val, success: function(data){ $("#doctors-list").html(data); } }); } </script> <?php } else{ ?> <script> $(document).ready(function() { $('#example1').DataTable( { dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ] } ); } ); jQuery.support.cors = true; function getcountry(val) { //alert(val); cache: false, $.ajax({ type: "POST", url: "get_reportdropdown1.php?q=0", data:'CountryID='+val, success: function(data){ $("#state-list").html(data); } }); } function getcountry1(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown1.php?q=0", data:'CountryID='+val, success: function(data){ $("#state-list1").html(data); } }); } function getstate(val) { $.ajax({ cache: false, type: "POST", url: "get_dropdown1.php?q=1", data:'state='+val, success: function(data){ $("#city-list").html(data); } }); } function getstate1(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown1.php?q=1", data:'state='+val, success: function(data){ $("#city-list1").html(data); } }); } function gethospital(val) { $.ajax({ cache: false, type: "POST", url: "get_reportdropdown1.php?q=3", data:'hospitalID='+val, success: function(data){ $("#doctors-list").html(data); } }); } </script> <?php }?> </body> </html>
© 2017 -
ZeroByte.ID
.