����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
/
sb_web
/
sb_web
/
web
/
b2815
/
aljthoorcom.ipage.com
/
a
/
[
Home
]
File: addstoredetail.php
<?php include 'application/config.php'; session_start(); if(isset($_SESSION['uname'])) { } else { ?> <script> window.location='appuserlogin.php'; </script> <?php } $user_id=$_SESSION['uid']; $query=mysqli_query($con,"select * from tbl_storefinder_stores WHERE user_id='$user_id'"); $res=mysqli_fetch_array($query); ?> <!DOCTYPE html> <html> <head> <title>Store Finder | Add Store Detail</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <link rel="shortcut icon" href="uploads/storelogo.png"> <link rel="stylesheet" href="css/demo.css"> <link rel="stylesheet" href="css/sky-forms.css"> <script src="js/1.9.1.jquery.min.js"></script> </head> <body class="bg-green"> <div class="body"> <form class="sky-form" id="myform" method="post" enctype="multipart/form-data"> <header><i class="icon-plus"></i> Add Store Detail <div align="right" style="margin-top: -24px;" ><a href="logout.php" title="Logout"><i class="icon-lock" style="color: #33485C;"></i></a></div></header> <fieldset> <div class="row"> <section class="col col-6"> <label class="input"> <?php if($res) { if($res['approve_store'] == 1) { ?> <p><font color="#33485C">Store Status : </font> <font color="#8b0000">Panding....</font></p> <?php } if($res['approve_store'] == 0 && $res['is_active'] == 0) { ?> <p><font color="#33485C">Store Status : </font> <font color="#006400">Approved By Admin</font></p> <?php } if($res['approve_store'] == 0 && $res['spam'] == 0 && $res['is_active'] == 1) { ?> <p><font color="#33485C">Store Status : </font> <font color="#00008b">Deactivate By Admin</font></p> <?php } ?> <?php } else { } ?> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-bookmark"></i> <input data-validation="text" name="sname" type="text" class="feedback-input" placeholder="<?php echo _("Store Name"); ?>" id="name" value="<?php echo $res['store_name']; ?>" required/> </label> </section> <section class="col col-6"> <label class="textarea"> <i class="icon-append icon-edit"></i> <textarea name="address" rows="3" class="feedback-input" id="comment" placeholder="Store Address" required ><?php echo $res['store_address']; ?></textarea> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-envelope"></i> <input name="email" type="email" class="feedback-input" value="<?php echo $res['email']; ?>" placeholder="Email Id" id="email" required/> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-mobile-phone"></i> <input type="text" name="phone" class="feedback-input" value="<?php echo $res['phone_no']; ?>" id="phone" placeholder="Phone No" required/> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-mobile-phone"></i> <input type="text" name="sms" class="feedback-input" placeholder="SMS No" value="<?php echo $res['sms_no']; ?>" id="sms" required/> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-link"></i> <input type="url" name="url" class="feedback-input" placeholder="Enter Website URL http://www.example.com" value="<?php echo $res['website']; ?>" id="url" required/> </label> </section> <section class="col col-6"> <a href="addcategory.php">Add New Category</i></a> <label class="select"> <i class="icon-append icon-plus-sign"></i> <select name="category" required> <option value=""><?php echo _("Select Category"); ?></option> <?php $query=mysqli_query($con,"select * from tbl_storefinder_categories WHERE is_deleted=0"); $query1=mysqli_query($con,"select * from tbl_storefinder_categories WHERE is_deleted=0"); $checkcat=mysqli_num_rows($query1); if($checkcat) { } else { ?> <script> alert("! First Add Category !!!"); window.location='appuserlogin.php'; </script> <?php } while($res1=mysqli_fetch_array($query)) { if($res['category_id'] == $res1['category_id']) { ?> <option value="<?php echo $res1['category_id']; ?>" selected><?php echo $res1['category']; ?></option> <?php } else { ?> <option value="<?php echo $res1['category_id']; ?>"><?php echo $res1['category']; ?></option> <?php } } ?> </select> </label> </section> <section class="col col-6"> <label class="textarea"> <i class="icon-append icon-edit"></i> <textarea rows="5" name="desc" class="feedback-input" placeholder="Write Store Description" id="comment" required><?php echo $res['store_desc']; ?></textarea> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-map-marker"></i> <input id="searchTextField" type="text" size="50" placeholder="Search Location " class="feedback-input lngbox"> </label> </section> <section class="col col-6"> <label class="input"> <div id="map_canvas" style="width:100%; height:200px"></div> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-map-marker"></i> <input type="text" id="latbox" name="lat" value="<?php echo $res['lat']; ?>" class="feedback-input MapLat" placeholder="Latitude" required/> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-append icon-map-marker"></i> <input type="text" id="lngbox" name="long" value="<?php echo $res['lon']; ?>" class="feedback-input MapLon" placeholder="Longitude" required/> </label> </section> <?php if($res) { ?> <section class="col col-6"> <label for="file" class="input input-file"> <div class="button"> <input id="file" name="file" onchange="this.parentNode.nextSibling.value = this.value" type="file">Select</div><input placeholder="Change Thumbnail Image" readonly="" type="text"> </label> </section> <section class="col col-6"> <label for="file" class="input input-file"> <img src="uploads/store/full/<?php echo $res['thumb_img']; ?>" style="width: 100%;height: 100px;"> <p class="name"> <a href="storemultiimages.php?res_id=<?php echo $res['store_id']; ?>">Click To Edit Store Multiple Images</a> </p> </label> </section> <?php } else { ?> <section class="col col-6"> <label for="file" class="input input-file"> <div class="button"> <input id="file" name="file" onchange="this.parentNode.nextSibling.value = this.value" required type="file">Select</div><input placeholder="Store Thumbnail Image" readonly="" type="text" id="asd2"> </label> </section> <section class="col col-6"> <label for="file" class="input input-file"> <div class="button"> <input id="file" name="file1[]" onchange="this.parentNode.nextSibling.value = this.value" type="file" multiple>Select</div><input placeholder="Store Multi Images" readonly="" type="text"> </label> </section> <?php } ?> </div> </fieldset> <footer> <?php if($res){ ?> <div class="submit"> <input type="submit" class="button" value="Update Store Detail" name="update" id="button-blue"/> <div class="ease"></div> </div> <?php } else { ?> <div class="submit"> <input type="submit" class="button" value="Add Store Detail" name="addstore" id="button-blue"/> <div class="ease"></div> </div> <?php } ?> </footer> <footer> <font color="#ff4500">Note : </font> <font color="#33485C">If your store contains spam details. it will be immediately removed, without prior notice.</font> </footer> </form> </div> </body> </html> <script> $(function() { $("#myform").validate( { rules: { item: { required: true } } }); }); </script> <?php if(isset($_POST['update'])) { $sname=addslashes($_POST['sname']); $address=addslashes($_POST['address']); $email=addslashes($_POST['email']); $phone=addslashes($_POST['phone']); $site=addslashes($_POST['url']); $sms=addslashes($_POST['sms']); /* $fetured=$_POST['featured'];*/ $category=$_POST['category']; $desc=addslashes($_POST['desc']); $lat=$_POST['lat']; $long=$_POST['long']; if($_FILES['file']['name'] != "") { $path=$res['thumb_img']; unlink('uploads/store/full/'.$path); unlink('uploads/store/thumb/'.$path); function cwUpload($field_name = '', $target_folder = '', $file_name = '', $thumb = FALSE, $thumb_folder = '', $thumb_width = '', $thumb_height = '') { $target_path = $target_folder; $thumb_path = $thumb_folder; $filename_err = explode(".", $_FILES[$field_name]['name']); $filename_err_count = count($filename_err); $file_ext = $filename_err[$filename_err_count - 1]; $r1 = chr(rand(ord('a'), ord('z'))); $r2 = chr(rand(ord('a'), ord('z'))); $r3 = chr(rand(ord('a'), ord('z'))); $id = $r1 . $r2 . $r3; $fileName = $id . "_".time().".".$file_ext; $upload_image = $target_path . basename($fileName); if (move_uploaded_file($_FILES[$field_name]['tmp_name'], $upload_image)) { if ($thumb == TRUE) { $thumbnail = $thumb_path . $fileName; list($width, $height) = getimagesize($upload_image); $thumb_create = imagecreatetruecolor($thumb_width, $thumb_height); switch ($file_ext) { case 'jpg': $source = imagecreatefromjpeg($upload_image); break; case 'jpeg': $source = imagecreatefromjpeg($upload_image); break; case 'png': $source = imagecreatefrompng($upload_image); break; case 'gif': $source = imagecreatefromgif($upload_image); break; default: $source = imagecreatefromjpeg($upload_image); } imagecopyresized($thumb_create, $source, 0, 0, 0, 0, $thumb_width, $thumb_height, $width, $height); switch ($file_ext) { case 'jpg' || 'jpeg': imagejpeg($thumb_create, $thumbnail, 100); break; case 'png': imagepng($thumb_create, $thumbnail, 100); break; case 'gif': imagegif($thumb_create, $thumbnail, 100); break; default: imagejpeg($thumb_create, $thumbnail, 100); } } return $fileName; } else { return false; } } $upload_img = cwUpload('file', 'uploads/store/full/', '', TRUE, 'uploads/store/thumb/', '200', '97'); $thumb_src = 'uploads/store/thumb/' . $upload_img; $imagepath = $upload_img; $query=mysqli_query($con," update tbl_storefinder_stores set `store_name`='$sname', `store_address`='$address', `store_desc`='$desc', `thumb_img`='$imagepath', `lat`='$lat', `lon`='$long', `sms_no`='$sms', `phone_no`='$phone', `email`='$email', `website`='$site', `category_id`='$category' WHERE store_id='".$res['store_id']."' "); if($query) { ?> <script> alert('Your Store Detail is successfully saved and Reviewed by Store Finder Team very soon.'); window.location='addstoredetail.php'; </script> <?php } else { ?> <script> alert('Please Try Again..'); window.location='addstoredetail.php'; </script> <?php } } else { $query=mysqli_query($con," update tbl_storefinder_stores set `store_name`='$sname', `store_address`='$address', `store_desc`='$desc', `lat`='$lat', `lon`='$long', `sms_no`='$sms', `phone_no`='$phone', `email`='$email', `website`='$site', `category_id`='$category' WHERE store_id='".$res['store_id']."' "); if($query) { ?> <script> alert('Your Store Detail is successfully saved and Reviewed by Store Finder Team very soon.'); window.location='addstoredetail.php'; </script> <?php } else { ?> <script> alert('Please Try Again..'); window.location='addstoredetail.php'; </script> <?php } } } if(isset($_POST['addstore'])){ $sname=addslashes($_POST['sname']); $address=addslashes($_POST['address']); $email=addslashes($_POST['email']); $phone=addslashes($_POST['phone']); $site=addslashes($_POST['url']); $sms=addslashes($_POST['sms']); /* $fetured=$_POST['featured'];*/ $category=$_POST['category']; $desc=addslashes($_POST['desc']); $lat=$_POST['lat']; $long=$_POST['long']; $date=time(); $ap=1; if($_FILES['file1']['name'] != "") { function cwUpload($field_name = '', $target_folder = '', $file_name = '', $thumb = FALSE, $thumb_folder = '', $thumb_width = '', $thumb_height = '') { $target_path = $target_folder; $thumb_path = $thumb_folder; $filename_err = explode(".", $_FILES[$field_name]['name']); $filename_err_count = count($filename_err); $file_ext = $filename_err[$filename_err_count - 1]; $r1 = chr(rand(ord('a'), ord('z'))); $r2 = chr(rand(ord('a'), ord('z'))); $r3 = chr(rand(ord('a'), ord('z'))); $id = $r1 . $r2 . $r3; $fileName = $id . $_FILES[$field_name]['name']; $upload_image = $target_path . basename($fileName); if (move_uploaded_file($_FILES[$field_name]['tmp_name'], $upload_image)) { if ($thumb == TRUE) { $thumbnail = $thumb_path . $fileName; list($width, $height) = getimagesize($upload_image); $thumb_create = imagecreatetruecolor($thumb_width, $thumb_height); switch ($file_ext) { case 'jpg': $source = imagecreatefromjpeg($upload_image); break; case 'jpeg': $source = imagecreatefromjpeg($upload_image); break; case 'png': $source = imagecreatefrompng($upload_image); break; case 'gif': $source = imagecreatefromgif($upload_image); break; default: $source = imagecreatefromjpeg($upload_image); } imagecopyresized($thumb_create, $source, 0, 0, 0, 0, $thumb_width, $thumb_height, $width, $height); switch ($file_ext) { case 'jpg' || 'jpeg': imagejpeg($thumb_create, $thumbnail, 100); break; case 'png': imagepng($thumb_create, $thumbnail, 100); break; case 'gif': imagegif($thumb_create, $thumbnail, 100); break; default: imagejpeg($thumb_create, $thumbnail, 100); } } return $fileName; } else { return false; } } $upload_img = cwUpload('file', 'uploads/store/full/', '', TRUE, 'uploads/store/thumb/', '200', '97'); $thumb_src = 'uploads/store/thumb/' . $upload_img; $imagepath = $upload_img; $add = mysqli_query($con, "insert into tbl_storefinder_stores (`store_name`, `store_address`, `store_desc`, `lat`, `lon`, `sms_no`, `phone_no`, `email`, `website`, `category_id`, `created_at`, `updated_at`, `featured`, `is_deleted`,`thumb_img`,`user_id`,`approve_store`) VALUES ('$sname','$address','$desc','$lat','$long','$sms','$phone','$email','$site','$category','$date','$date',0,0,'$imagepath','$user_id','$ap') "); if ($add) { $queryforsto=mysqli_query($con,"select * from tbl_storefinder_stores WHERE store_name='$sname' && email='$email' && phone_no='$phone' && store_address='$address'"); $dataval=mysqli_fetch_array($queryforsto); $idval=$dataval['store_id']; for($im=0; $im<count($_FILES['file1']['name']); $im++) { $tmpFilePath = $_FILES['file1']['tmp_name'][$im]; if ($tmpFilePath != "") { $r1 = chr(rand(ord('a'), ord('z'))); $r2 = chr(rand(ord('a'), ord('z'))); $r3 = chr(rand(ord('a'), ord('z'))); $rno=$r1.$r2.$r3; $filename_err = explode(".", $_FILES['file1']['name']); $filename_err_count = count($filename_err); $file_ext = $filename_err[$filename_err_count - 1]; $newFilePath = "uploads/store/full/" .$rno . "_".time().".".$file_ext; $imagepath= $rno . "_".time().".".$file_ext; //Upload the file into the temp dir $date=time(); if(move_uploaded_file($tmpFilePath,$newFilePath)) { $qry=mysqli_query($con,"insert into tbl_storefinder_photos (photo_url,store_id,created_at,updated_at,is_deleted) VALUES ('$imagepath','$idval','$date','$date',0)"); } } } ?> <script> alert("! Your Store Detail is successfully saved and Reviewed by Store Finder Team very soon. !!!"); window.location='addstoredetail.php'; </script> <?php } else { ?> <script> alert("! Try Again Please Network Problems !!!"); </script> <?php } } else{ function cwUpload($field_name = '', $target_folder = '', $file_name = '', $thumb = FALSE, $thumb_folder = '', $thumb_width = '', $thumb_height = '') { $target_path = $target_folder; $thumb_path = $thumb_folder; $filename_err = explode(".", $_FILES[$field_name]['name']); $filename_err_count = count($filename_err); $file_ext = $filename_err[$filename_err_count - 1]; $r1 = chr(rand(ord('a'), ord('z'))); $r2 = chr(rand(ord('a'), ord('z'))); $r3 = chr(rand(ord('a'), ord('z'))); $id = $r1 . $r2 . $r3; $fileName = $id . "_".time().".".$file_ext; $upload_image = $target_path . basename($fileName); if (move_uploaded_file($_FILES[$field_name]['tmp_name'], $upload_image)) { if ($thumb == TRUE) { $thumbnail = $thumb_path . $fileName; list($width, $height) = getimagesize($upload_image); $thumb_create = imagecreatetruecolor($thumb_width, $thumb_height); switch ($file_ext) { case 'jpg': $source = imagecreatefromjpeg($upload_image); break; case 'jpeg': $source = imagecreatefromjpeg($upload_image); break; case 'png': $source = imagecreatefrompng($upload_image); break; case 'gif': $source = imagecreatefromgif($upload_image); break; default: $source = imagecreatefromjpeg($upload_image); } imagecopyresized($thumb_create, $source, 0, 0, 0, 0, $thumb_width, $thumb_height, $width, $height); switch ($file_ext) { case 'jpg' || 'jpeg': imagejpeg($thumb_create, $thumbnail, 100); break; case 'png': imagepng($thumb_create, $thumbnail, 100); break; case 'gif': imagegif($thumb_create, $thumbnail, 100); break; default: imagejpeg($thumb_create, $thumbnail, 100); } } return $fileName; } else { return false; } } $upload_img = cwUpload('file', 'uploads/store/full/', '', TRUE, 'uploads/store/thumb/', '200', '97'); $thumb_src = 'uploads/store/thumb/' . $upload_img; $imagepath = $upload_img; $add = mysqli_query($con, "insert into tbl_storefinder_stores (`store_name`, `store_address`, `store_desc`, `lat`, `lon`, `sms_no`, `phone_no`, `email`, `website`, `category_id`, `created_at`, `updated_at`, `featured`, `is_deleted`,`thumb_img`,`user_id`,`approve_store`) VALUES ('$sname','$address','$desc','$lat','$long','$sms','$phone','$email','$site','$category','$date','$date',0,0,'$imagepath','$user_id','$ap') "); if ($add) { ?> <script> document.getElementById("msg").innerHTML='! Your Store Detail is successfully saved and Reviewed by Store Finder Team very soon. !!!'; </script> <?php } else { ?> <script> alert("! Try Again Please Network Problems !!!"); </script> <?php } } } else{ } ?> <script src="http://maps.google.com/maps/api/js?libraries=places®ion=uk&language=en&sensor=true"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> <?php if($res){ $lat = $res['lat']; $long = $res['lon']; } else { $lat = 25.403584973186703; $long = 79.453125; } ?> <script> $(function () { var lat = <?php echo $lat; ?>, lng = <?php echo $long; ?>, latlng = new google.maps.LatLng(lat, lng), image = 'http://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.png'; //zoomControl: true, //zoomControlOptions: google.maps.ZoomControlStyle.LARGE, var mapOptions = { center: new google.maps.LatLng(lat, lng), zoom: 13, mapTypeId: google.maps.MapTypeId.ROADMAP, panControl: true, panControlOptions: { position: google.maps.ControlPosition.TOP_RIGHT }, zoomControl: true, zoomControlOptions: { style: google.maps.ZoomControlStyle.LARGE, position: google.maps.ControlPosition.TOP_left } }, map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions), marker = new google.maps.Marker({ position: latlng, map: map, icon: image }); var input = document.getElementById('searchTextField'); var autocomplete = new google.maps.places.Autocomplete(input, { types: ["geocode"] }); autocomplete.bindTo('bounds', map); var infowindow = new google.maps.InfoWindow(); google.maps.event.addListener(autocomplete, 'place_changed', function (event) { infowindow.close(); var place = autocomplete.getPlace(); if (place.geometry.viewport) { map.fitBounds(place.geometry.viewport); } else { map.setCenter(place.geometry.location); map.setZoom(17); } moveMarker(place.name, place.geometry.location); $('.MapLat').val(place.geometry.location.lat()); $('.MapLon').val(place.geometry.location.lng()); }); google.maps.event.addListener(map, 'click', function (event) { $('.MapLat').val(event.latLng.lat()); $('.MapLon').val(event.latLng.lng()); infowindow.close(); var geocoder = new google.maps.Geocoder(); geocoder.geocode({ "latLng":event.latLng }, function (results, status) { console.log(results, status); if (status == google.maps.GeocoderStatus.OK) { console.log(results); var lat = results[0].geometry.location.lat(), lng = results[0].geometry.location.lng(), placeName = results[0].address_components[0].long_name, latlng = new google.maps.LatLng(lat, lng); moveMarker(placeName, latlng); $("#searchTextField").val(results[0].formatted_address); } }); }); function moveMarker(placeName, latlng) { marker.setIcon(image); marker.setPosition(latlng); infowindow.setContent(placeName); //infowindow.open(map, marker); } }); </script> <script src="js/1.11.1.jquery.min.js" type="text/javascript"></script> <script src="js/1.12.0.jquery.validate.min.js" type="text/javascript"></script>
© 2017 -
ZeroByte.ID
.