����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
/
b1720
/
just4yourhealth.com
/
samtool
/
[
Home
]
File: action.php
<?php session_start(); require_once 'class/class_sql.php'; require_once 'sql/mysql_connect.php'; require_once 'class/class.rc4crypt.php'; require_once 'class/class_object.php'; require_once 'class/class_admin.php'; require_once 'class/class_index.php'; $admin_list = new admin_list(); $ob = new ob(); $index_html = new index_html(); $link->connect_open();//連線 if($_SESSION['username']==''){die ('<script>alert("請先登入");location.href="index.php"</script>');} $url = $_REQUEST['url'];//解碼 if($url!=''){$url = '?'.$ob->decrypt($url);} if($_GET['actions'] == 'message_del')//整個留言刪除 { if($_SESSION['name_e']!='boss') { die ('<script>alert("你無此權限!");history.go(-1)</script>'); } $num=count($_POST['no']); for ( $i=0; $i<=($num-1) ; $i++) { $dd=$_POST['no'][$i]; $query = $link->sql("select * from message_sj where message_no='{$dd}'"); while($row = mysql_fetch_assoc($query)){ $link->sql("delete from message_ar where message_no='".$row['message_sj_no']."'"); } $link->sql("delete from message_sj where message_no='{$dd}' or message_sj_no='{$dd}'"); $link->sql("delete from message_ar where message_no='{$dd}'"); } die ('<script>alert("留言刪除成功!!");location.href="message_list.php'.$url.'"</script>'); } if($_POST['actions'] == 'products_add') { $c = $_POST['c']; $row = @mysql_fetch_assoc($link->sql("select max(products_id) as products_id from products")); $sn = $row['products_id']+1;//編號 $products_id2 = $ob->htmlentiti($_POST['pro1']); $products_id3 = $ob->htmlentiti($_POST['pro2']); $products_name = $ob->htmlentiti($_POST['products_name']); $price = $ob->htmlentiti($_POST['price']); $modelNo = $ob->htmlentiti($_POST['modelNo']); $sku = $ob->htmlentiti($_POST['sku']); $vendor = $ob->htmlentiti($_POST['vendor']); $products_classname = $ob->htmlentiti($_POST['products_classname']); $products_content =$ob->htmlentiti($_POST['products_content']); $products_status = $_POST['products_status']; $products_time = date('Y-m-d'); if($c=='') { $row = @mysql_fetch_assoc($link->sql("select max(products_sort) as products_sort from products where products_id2='0' and products_id3='0'")); $products_sort = $row['products_sort']+1;//編號 } if($c=='2') { $row = @mysql_fetch_assoc($link->sql("select max(products_sort) as products_sort from products where products_id2='{$products_id2}' and products_id3='0'")); $products_sort = $row['products_sort']+1;//編號 } if($c=='3') { $row = @mysql_fetch_assoc($link->sql("select max(products_sort) as products_sort from products where products_id2='{$products_id2}' and products_id3='{$products_id3}'")); $products_sort = $row['products_sort']+1;//編號 } $products_ids=$sn; for($i=1;$i<=10;$i++) { $file_name = $_FILES["s".$i]["name"]; $file_path=$_FILES["s".$i]["tmp_name"]; $file_size=$_FILES["s".$i]["size"]; $file_name2 = $_FILES["sa".$i]["name"]; $file_path2=$_FILES["sa".$i]["tmp_name"]; $file_size2=$_FILES["sa".$i]["size"]; if($file_name[0] != '') { if($file_size > '1048576')//判斷檔案大小1000=k,1000k=1M { if($c=='') { die('<script language="JavaScript">alert("620*420上傳圖片超過1Ms!!");location.href="products_add.php";</script>'); } if($c=='2') { die('<script language="JavaScript">alert("620*420上傳圖片超過1Ms!!");location.href="products2_add.php?pro1='.$products_id2.'";</script>'); } if($c=='3') { die('<script language="JavaScript">alert("620*420上傳圖片超過1Ms!!");location.href="products3_add.php?pro1='.$products_id2.'&pro2='.$products_id3.'";</script>'); } } } if($file_name2[0] != '') { if($file_size2 > '1048576')//判斷檔案大小1000=k,1000k=1M { if($c=='') { die('<script language="JavaScript">alert("140*120上傳圖片超過1Ms!!");location.href="products_add.php";</script>'); } if($c=='2') { die('<script language="JavaScript">alert("140*120上傳圖片超過1Ms!!");location.href="products2_add.php?pro1='.$products_id2.'";</script>'); } if($c=='3') { die('<script language="JavaScript">alert("140*120上傳圖片超過1Ms!!");location.href="products3_add.php?pro1='.$products_id2.'&pro2='.$products_id3.'";</script>'); } } } } for($i=1;$i<=2;$i++) { $file_name = $_FILES["s".$i]["name"]; $file_path=$_FILES["s".$i]["tmp_name"]; $file_size=$_FILES["s".$i]["size"]; $file_name3 = $_FILES["sa".$i]["name"]; $file_path3=$_FILES["sa".$i]["tmp_name"]; $file_size3=$_FILES["sa".$i]["size"]; $file_name = explode(".",$file_name);//將上傳的圖檔名稱以 . 拆開 $file_name3 = $file_name;//explode(".",$file_name3);//將上傳的圖檔名稱以 . 拆開 if($file_name[0] != '' && $file_name3[0] != '') { //長條圖 $file = date("Ymdhis").$i; $file3 = date("Ymdhis").$i.'_2'; if($file_name[1]=='xlsx'){$file_name2='xls';} elseif($file_name[1]=='docx'){$file_name2='doc';} elseif($file_name[1]=='pptx'){$file_name2='ppt';} elseif($file_name[1]=='jpeg'){$file_name2='jpg';} else{$file_name2 = strtolower($file_name[1]);} if($file_name3[1]=='xlsx'){$file_name4='xls';} elseif($file_name3[1]=='docx'){$file_name4='doc';} elseif($file_name3[1]=='pptx'){$file_name4='ppt';} elseif($file_name3[1]=='jpeg'){$file_name4='jpg';} else{$file_name4 = strtolower($file_name3[1]);} $pic_name = $file.'.'.$file_name2; $pic_name2 = $pic_name;//$file3.'.'.$file_name4; $from_filename=$file_path; $from_filename2=$file_path3; $save_filename="images/products/".$pic_name; $save_filename2="images/products/".$pic_name2; $ob->imagepngsize($from_filename,$save_filename,140,120);//檔案複製加比例壓縮 //$ob->imagepngsize($from_filename2,$save_filename2,140,120);//檔案複製加比例壓縮 list($product_picsorts)=mysql_fetch_row($link->sql("select Max(product_picsorts) as product_picsorts from product_pic where product_id='{$products_ids}'")); $sn=$product_picsorts+1; list($product_picno)=mysql_fetch_row($link->sql("select Max(product_picno) as product_picno from product_pic")); $product_picno = $product_picno + 1 ; $product_picname2 = $ob->htmlentiti($_POST["l".$i]); $product_piclink = $ob->htmlentiti($_POST["d".$i]); //資料新增 $link->sql("insert into product_pic(product_picno,product_picname,product_picname2,product_piclink,product_picstatus,product_picsorts,product_id) values ('{$product_picno}','{$pic_name}','{$pic_name2}','{$product_piclink}','1','{$sn}','{$products_ids}')"); } } $link->sql("insert into products(products_id,products_id2,products_id3,products_name,products_classname,products_content,products_status,products_time,products_sort, price, modelNo, sku, vendor ) values('".$products_ids."','".$products_id2."','".$products_id3."','".$products_classname."','".$products_classname."','".$products_content."','".$products_status."','".$products_time."','".$products_sort."','".$price."','".$modelNo."','".$sku."','".$vendor."')"); if($c=='') { die ('<script>if (confirm("Congratulation ! Are you gonna add another product ? ")){ location.href="products_add.php" }else{ location.href="products_list.php"}</script>'); } if($c=='2') { die ('<script>if (confirm("Congratulation ! Are you gonna add another product ?")){ location.href="products2_add.php?pro1='.$products_id2.'" }else{ location.href="products2_list.php?pro1='.$products_id2.'"}</script>'); } if($c=='3') { die ('<script>if (confirm("Congratulation ! Are you gonna add another product ?")){ location.href="products3_add.php?pro1='.$products_id2.'&pro2='.$products_id3.'" }else{ location.href="products3_list.php?pro1='.$products_id2.'&pro2='.$products_id3.'"}</script>'); } } if($_POST['actions'] == 'products_res') { $c = $_POST['c']; $products_id = $_POST['products_id']; $products_name = $ob->htmlentiti($_POST['products_name']); $products_classname = $ob->htmlentiti($_POST['products_classname']); $products_content =$ob->htmlentiti($_POST['products_content']); $products_status = $_POST['products_status']; $products_sort = $_POST['products_sort']; $price = $ob->htmlentiti($_POST['price']); $modelNo = $ob->htmlentiti($_POST['modelNo']); $sku = $ob->htmlentiti($_POST['sku']); $vendor = $ob->htmlentiti($_POST['vendor']); $link->sql("update products set products_name='".$products_classname."',products_classname='".$products_classname."',products_content='".$products_content."',products_status='".$products_status."',products_sort='".$products_sort."' ,price='".$price."' ,modelNo='".$modelNo."' ,sku='".$sku."' ,vendor='".$vendor."' where products_id='".$products_id."'"); //echo "update products set products_name='".$products_name."',products_classname='".$products_classname."',products_content='".$products_content."',products_status='".$products_status."',products_sort='".$products_sort."' where products_id='".$products_id."'"; if($c=='') { die ('<script>alert("Congratulation!!");location.href="products_list.php'.$url.'"</script>'); } if($c=='2') { die ('<script>alert("Congratulation!! ");location.href="products2_list.php'.$url.'"</script>'); } if($c=='3') { die ('<script>alert("Congratulation!!");location.href="products3_list.php'.$url.'"</script>'); } } if($_POST['actions'] == 'propic_add')//圖片新增 { $product_picstatus = $ob->htmlentiti($_POST['product_picstatus']); $products_id = $ob->htmlentiti($_POST['products_id']); $c = $_POST['c']; $pro1 = $_POST['pro1']; $pro2 = $_POST['pro2']; for($i=1;$i<=10;$i++) { $file_name = $_FILES["s".$i]["name"]; $file_path=$_FILES["s".$i]["tmp_name"]; $file_size=$_FILES["s".$i]["size"]; $file_name2 = $_FILES["sa".$i]["name"]; $file_path2=$_FILES["sa".$i]["tmp_name"]; $file_size2=$_FILES["sa".$i]["size"]; if($file_name[0] != '') { if($file_size > '1048576')//判斷檔案大小1000=k,1000k=1M { die('<script language="JavaScript">alert("620*420上傳圖片超過1Ms!!");location.href="propic_add.php?products_id='.$products_id.'&c='.$c.'&pro1='.$pro1.'&pro2='.$pro2.'";</script>'); } } if($file_name2[0] != '') { if($file_size2 > '1048576')//判斷檔案大小1000=k,1000k=1M { die('<script language="JavaScript">alert("140*120上傳圖片超過1Ms!!");location.href="propic_add.php?products_id='.$products_id.'&c='.$c.'&pro1='.$pro1.'&pro2='.$pro2.'";</script>'); } } } for($i=1;$i<=10;$i++) { $file_name = $_FILES["s".$i]["name"]; $file_path=$_FILES["s".$i]["tmp_name"]; $file_size=$_FILES["s".$i]["size"]; $file_name3 = $_FILES["sa".$i]["name"]; $file_path3=$_FILES["sa".$i]["tmp_name"]; $file_size3=$_FILES["sa".$i]["size"]; $file_name = explode(".",$file_name);//將上傳的圖檔名稱以 . 拆開 $file_name3 = explode(".",$file_name3);//將上傳的圖檔名稱以 . 拆開 if($file_name[0] != '' && $file_name3[0] != '') { //長條圖 $file = date("Ymdhis").$i; $file3 = date("Ymdhis").$i.'_2'; if($file_name[1]=='xlsx'){$file_name2='xls';} elseif($file_name[1]=='docx'){$file_name2='doc';} elseif($file_name[1]=='pptx'){$file_name2='ppt';} elseif($file_name[1]=='jpeg'){$file_name2='jpg';} else{$file_name2 = strtolower($file_name[1]);} if($file_name3[1]=='xlsx'){$file_name4='xls';} elseif($file_name3[1]=='docx'){$file_name4='doc';} elseif($file_name3[1]=='pptx'){$file_name4='ppt';} elseif($file_name3[1]=='jpeg'){$file_name4='jpg';} else{$file_name4 = strtolower($file_name3[1]);} $pic_name = $file.'.'.$file_name2; $pic_name2 = $file3.'.'.$file_name4; $from_filename=$file_path; $from_filename2=$file_path3; $save_filename="../images/products/".$pic_name; $save_filename2="../images/products/".$pic_name2; $ob->imagepngsize($from_filename,$save_filename,620,400);//檔案複製加比例壓縮*/ $ob->imagepngsize($from_filename2,$save_filename2,140,120);//檔案複製加比例壓縮*/ list($product_picsorts)=mysql_fetch_row($link->sql("select Max(product_picsorts) as product_picsorts from product_pic where product_id='{$products_id}'")); $sn=$product_picsorts+1; list($product_picno)=mysql_fetch_row($link->sql("select Max(product_picno) as product_picno from product_pic")); $product_picno = $product_picno + 1 ; $product_picname2 = $ob->htmlentiti($_POST["l".$i]); $product_piclink = $ob->htmlentiti($_POST["d".$i]); //資料新增 $link->sql("insert into product_pic(product_picno,product_picname,product_picname2,product_piclink,product_picstatus,product_picsorts,product_id) values ('{$product_picno}','{$pic_name}','{$pic_name2}','{$product_piclink}','{$product_picstatus}','{$sn}','{$products_id}')"); } } if($c=='') { die ('<script>if (confirm("新增成功!是否需要繼續新增資料?")){ location.href="propic_add.php?products_id='.$products_id.'"}else{ location.href="propic_list.php?products_id='.$products_id.'"}</script>'); } if($c=='2') { die ('<script>if (confirm("新增成功!是否需要繼續新增資料?")){ location.href="propic_add.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"}else{ location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"}</script>'); } if($c=='3') { die ('<script>if (confirm("新增成功!是否需要繼續新增資料?")){ location.href="propic_add.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"}else{ location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"}</script>'); } } if($_POST['actions'] == 'propic_res')//圖片修改刪除 { $del = $_POST['del']; $total = $_POST['total'];//資料總數 $products_id = $_POST['products_id']; $c = $_POST['c']; $pro1 = $_POST['pro1']; $pro2 = $_POST['pro2']; $adpic_class = $ob->htmlentiti($_POST['adpic_class']); $a=$adpic_class; $total2=0; for($x=0;$x<$total;$x++){ $product_picstatus = $ob->htmlentiti($_POST['product_picstatus'][$x]); if($product_picstatus==2){$total2++;} } if($total2==$total) { if($c=='') { die ('<script>alert("所有圖片狀態不能通通為不呈現!!");location.href="propic_list.php?products_id='.$products_id.'"</script>'); } if($c=='2') { die ('<script>alert("所有圖片狀態不能通通為不呈現!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } if($c=='3') { die ('<script>alert("所有圖片狀態不能通通為不呈現!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } } for($x=0;$x<$total;$x++) { $no = $ob->htmlentiti($_POST['no'][$x]); $product_picname2 = $ob->htmlentiti($_POST['product_picname2'][$x]); $product_piclink = $ob->htmlentiti($_POST['product_piclink'][$x]); $product_picsorts = $ob->htmlentiti($_POST['product_picsorts'][$x]); $product_picstatus = $ob->htmlentiti($_POST['product_picstatus'][$x]); $link->sql("update product_pic set product_picstatus='{$product_picstatus}',product_piclink='{$product_piclink}',product_picsorts='{$product_picsorts}' where product_picno='{$no}'"); } for($x=0;$x<$total;$x++) { if($del[$x] !='')//勾選的值不能為空,才執行 { if($total==1) { if($c=='') { die ('<script>alert("圖片只剩最後一張無法刪除!!");location.href="propic_list.php?products_id='.$products_id.'"</script>'); } if($c=='2') { die ('<script>alert("圖片只剩最後一張無法刪除!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } if($c=='3') { die ('<script>alert("圖片只剩最後一張無法刪除!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } } $query= $link->sql("select * from product_pic where product_picno='{$del[$x]}'"); while($row=mysql_fetch_assoc($query)) { if(is_file("../images/products/".$row['product_picname'])){unlink("../images/products/".$row['product_picname']);} if(is_file("../images/products/".$row['product_picname2'])){unlink("../images/products/".$row['product_picname2']);} } $link->sql("delete from product_pic where product_picno='{$del[$x]}'"); } } if($c=='') { die ('<script>alert("修改成功!!");location.href="propic_list.php?products_id='.$products_id.'"</script>'); } if($c=='2') { die ('<script>alert("修改成功!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } if($c=='3') { die ('<script>alert("修改成功!!");location.href="propic_list.php?products_id='.$products_id.'&pro1='.$pro1.'&pro2='.$pro2.'&c='.$c.'"</script>'); } } //Work Location if($_POST['actions'] == 'location_add') { $company_name = $_POST['company_name']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $address = $_POST['address']; $city = $_POST['city']; $state = $_POST['state']; $zip = $_POST['zip']; $home_phone = $_POST['home_phone']; $work_phone = $_POST['work_phone']; $cell_phone = $_POST['cell_phone']; $start_date = $_POST['start_date']; $email = $_POST['email']; $end_date = $_POST['end_date']; $status = $_POST['location_status']; $work_leader = $_POST['work_leader']; $link->sql("insert into locations values('', '$company_name', '$first_name', '$last_name', '$home_phone', '$work_phone', '$cell_phone', '$email', '$address', '$city', '$state', '$zip', '$start_date', '$end_date', '$work_leader', '$status') "); die ('<script>if (confirm("新增成功!是否需要繼續新增資料?")){ location.href="location_add.php" }else{ location.href="location.php"}</script>'); } //Location Update if($_POST['actions'] == 'location_res') { $loc_id = $_POST["location_id"]; $company_name = $_POST['company_name']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $address = $_POST['address']; $city = $_POST['city']; $state = $_POST['state']; $zip = $_POST['zip']; $home_phone = $_POST['home_phone']; $work_phone = $_POST['work_phone']; $cell_phone = $_POST['cell_phone']; $start_date = $_POST['start_date']; $email = $_POST['email']; $end_date = $_POST['end_date']; $status = $_POST['location_status']; $work_leader = $_POST['work_leader']; $link->sql(" update locations set company_name = '{$company_name}', first_name = '{$first_name}', last_name = '{$last_name}', address = '{$address}', city = '{$city}', state = '{$state}', zip = '{$zip}', home_phone = '{$home_phone}', cell_phone = '{$cell_phone}', work_phone = '{$work_phone}', email = '{$email}', status = '{$status}', start_date = '{$start_date}', end_date = '{$end_date}', work_leader = '{$work_leader}' where loc_id = '{$loc_id}' "); die ('<script>alert("修改成功!!");location.href="location.php'.$url.'"</script>'); } // Location Delete if($_REQUEST["actions"]=='location_del') { if($_SESSION['name_e']!='boss') { die ('<script>alert("你無此權限!");history.go(-1)</script>'); } $dd=$_REQUEST["loc_id"]; $link->sql("delete from location where loc_id='{$dd}'"); die ('<script>alert("刪除成功!!");location.href="location.php'.$url.'"</script>'); } $link->connect_close(); ?>
© 2017 -
ZeroByte.ID
.