����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
/
b2920
/
robertgrove.netfirms.com
/
CN
/
wp-content
/
themes
/
cocoon-master
/
lib
/
[
Home
]
File: admin.php
<?php //管理画面関係の関数 /** * Cocoon WordPress Theme * @author: yhira * @link: https://wp-cocoon.com/ * @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later */ if ( !defined( 'ABSPATH' ) ) exit; //管理画面に読み込むリソースの設定 add_action('admin_print_styles', 'admin_print_styles_custom'); if ( !function_exists( 'admin_print_styles_custom' ) ): function admin_print_styles_custom() { //管理者以外にJetpackメニューを表示しない if (!is_user_administrator()) { echo '<style>#toplevel_page_jetpack{display:none;}</style>'; } //管理用スタイル wp_enqueue_style( 'admin-style', get_template_directory_uri().'/css/admin.css' ); //Font Awesome wp_enqueue_style_font_awesome(); //カラーピッカー wp_enqueue_style( 'wp-color-picker' ); //メディアアップローダの javascript API wp_enqueue_media(); // wp_enqueue_script( 'media-widgets' ); // wp_enqueue_script( 'media-upload'); //_v("ha"); //wp_enqueue_script( 'tab-js-jquery', 'https://code.jquery.com/jquery.min.js'); //global $pagenow; //var_dump($pagenow); /////////////////////////////////////// // 管理画面でのJavaScript読み込み /////////////////////////////////////// //管理画面用での独自JavaScriptの読み込み wp_enqueue_script( 'admin-javascript', get_template_directory_uri() . '/js/admin-javascript.js', array( ), false, true ); //投稿ページの場合 if (is_admin_post_page()) { //投稿時に記事公開確認ダイアログ処理 wp_enqueue_confirmation_before_publish(); } //_v(is_admin_php_page()); if (is_admin_php_page()/* || is_widgets_php_page()*/) { //タブの読み込み wp_enqueue_script( 'tab-js-jquery', '//code.jquery.com/jquery.min.js', array( 'jquery' ), false, true ); wp_enqueue_script( 'tab-js', get_template_directory_uri() . '/js/jquery.tabs.js', array( 'tab-js-jquery' ), false, true ); } if (is_admin_php_page()/*$pagenow == 'admin.php'*/) { //設定変更CSSの読み込み //wp_add_css_custome_to_inline_style(); //IcoMoonの呼び出し wp_enqueue_style_icomoon(); $select_index = 0; if (isset($_POST['select_index'])) { $select_index = intval($_POST[SELECT_INDEX_NAME]); } $data = 'jQuery(document).ready( function() { tabify("#tabs").select( '.$select_index.' ); });'; wp_add_inline_script( 'tab-js', $data, 'after' ) ; //ソースコードハイライトリソースの読み込み wp_enqueue_highlight_js(); //画像リンク拡大効果がLightboxのとき wp_enqueue_lightbox(); //画像リンク拡大効果がLityのとき wp_enqueue_lity(); //画像リンク拡大効果がbaguetteboxのとき wp_enqueue_baguettebox(); //画像リンク拡大効果がspotlightのとき wp_enqueue_spotlight(); //カルーセル用 wp_enqueue_slick(); //ツリー型モバイルボタン(iframeで読み込むので不要) //wp_enqueue_slicknav(); //タイルカード wp_enqueue_jquery_masonry(); //Google Fonts wp_enqueue_google_fonts(); // wp_enqueue_script( 'wp-color-picker' ); // //作成した javascript // wp_enqueue_script( 'mediauploader' ); // /////////////////////////////////// // //ソースコードのハイライト表示 // /////////////////////////////////// // if ( is_code_highlight_enable() ){ // echo '<link rel="stylesheet" href="'. get_highlight_js_css_url().'">'.PHP_EOL; // echo '<script src="'.get_template_directory_uri().'/plugins/highlight-js/highlight.min.js"></script>'.PHP_EOL; // echo '<script type="text/javascript"> // (function($){ // $("'.get_code_highlight_css_selector().'").each(function(i, block) { // hljs.highlightBlock(block); // }); // })(jQuery); // </script>'; // } } //echo '<link rel="stylesheet" href="'.get_template_directory_uri().'/css/admin.css" />'.PHP_EOL; //echo '<style>.column-thumbnail{width:80px;}</style>'.PHP_EOL; } endif; //メディアを挿入の初期表示を「この投稿へのアップロード」にする // add_action( 'admin_footer-post-new.php', 'customize_initial_view_of_media_uploader' ); // add_action( 'admin_footer-post.php', 'customize_initial_view_of_media_uploader' ); if ( !function_exists( 'customize_initial_view_of_media_uploader' ) ): function customize_initial_view_of_media_uploader() { echo "<script type='text/javascript'> //<![CDATA[ jQuery(function($) { $('#wpcontent').ajaxSuccess(function() { $('select.attachment-filters [value=\"uploaded\"]').attr( 'selected', true ).parent().trigger('change'); }); }); //]]> </script>"; } endif; //投稿記事一覧にアイキャッチ画像を表示 //カラムの挿入 add_filter( 'manage_posts_columns', 'customize_admin_manage_posts_columns' ); add_filter( 'manage_pages_columns', 'customize_admin_manage_posts_columns' ); if ( !function_exists( 'customize_admin_manage_posts_columns' ) ): function customize_admin_manage_posts_columns($columns) { //作成者表示 if (!is_admin_list_author_visible()) { unset($columns['author']); } //カテゴリー表示 if (!is_admin_list_categories_visible()) { unset($columns['categories']); } //タグ表示 if (!is_admin_list_tags_visible()) { unset($columns['tags']); } //コメント表示 if (!is_admin_list_comments_visible()) { unset($columns['comments']); } //日付表示 if (!is_admin_list_date_visible()) { unset($columns['date']); } //投稿ID表示 if (is_admin_list_post_id_visible()) { $columns['post-id'] = __( 'ID', THEME_NAME ); } //文字数表示 if (is_admin_list_word_count_visible()) { $columns['word-count'] = __( '文字数', THEME_NAME ); } //文字数表示 if (is_admin_list_pv_visible()) { $columns['pv'] = __( 'PV', THEME_NAME ); } //アイキャッチ表示 if (is_admin_list_eyecatch_visible()) { $columns['thumbnail'] = __( 'アイキャッチ', THEME_NAME ); } //メモ表示 if (is_admin_list_memo_visible()) { $columns['memo'] = __( 'メモ', THEME_NAME ); } //unset($columns['comments']); return $columns; } endif; //管理画面の記事一覧テーブルにサムネイルの挿入 add_action( 'manage_posts_custom_column', 'customize_admin_add_column', 10, 2 ); add_action( 'manage_pages_custom_column', 'customize_admin_add_column', 10, 2 ); if ( !function_exists( 'customize_admin_add_column' ) ): function customize_admin_add_column($column_name, $post_id) { //投稿ID if ( 'post-id' == $column_name ) { $thum = $post_id; } //文字数表示 if ( 'word-count' == $column_name ) { //テーマで設定されているサムネイルを利用する場合 $post = get_post($post_id); //_v($post); $title_count = mb_strlen(strip_tags($post->post_title)); $content_count = mb_strlen(strip_tags($post->post_content)); $digit = max(array(strlen($title_count), strlen($content_count))); //var_dump($digit); $thum = '<div class="word-count-wrap">'. '<div class="word-count-title">'. '<span class="word-count-title-label">'. __( ' 題:', THEME_NAME ). '</span>'. '<span class="word-count-title-count">'. sprintf( '%s', $title_count ). '</span>'. '</div>'. '<div class="word-count-coutent">'. '<span class="word-count-coutent-label">'. __( '本文:', THEME_NAME ). '</span>'. '<span class="word-count-coutent-count">'. sprintf( '%s', $content_count ). '</span>'. '</div>'. '</div>'; } //PV表示 if ( 'pv' == $column_name ) { //テーマで設定されているサムネイルを利用する場合 $post = get_post($post_id); //_v($post); $title_count = mb_strlen(strip_tags($post->post_title)); $content_count = mb_strlen(strip_tags($post->post_content)); $digit = max(array(strlen($title_count), strlen($content_count))); //var_dump($digit); $thum = '<div class="pv-wrap">'. '<div class="pv-title">'. '<span class="pv-title-label">'. __( '日:', THEME_NAME ). '</span>'. '<span class="pv-title-count">'. get_todays_pv(). '</span>'. '</div>'. '<div class="pv-title">'. '<span class="pv-title-label">'. __( '週:', THEME_NAME ). '</span>'. '<span class="pv-title-count">'. get_last_7days_pv(). '</span>'. '</div>'. '<div class="pv-title">'. '<span class="pv-title-label">'. __( '月:', THEME_NAME ). '</span>'. '<span class="pv-title-count">'. get_last_30days_pv(). '</span>'. '</div>'. '<div class="pv-title">'. '<span class="pv-title-label">'. __( '全:', THEME_NAME ). '</span>'. '<span class="pv-title-count">'. get_all_pv(). '</span>'. '</div>'. '</div>'; } //アイキャッチ表示 if ( 'thumbnail' == $column_name ) { //テーマで設定されているサムネイルを利用する場合 $thum = get_the_post_thumbnail($post_id, THUMB100, array( 'style'=>'width:75px;height:auto;' )); } //メモ表示 if ( 'memo' == $column_name ) { //テーマで設定されているサムネイルを利用する場合 $thum = htmlspecialchars(get_the_page_memo($post_id)); } if ( isset($thum) && $thum ) { echo $thum; } } endif; //管理ツールバーにメニュー追加 if (is_admin_tool_menu_visible() && is_user_administrator()) { add_action('admin_bar_menu', 'customize_admin_bar_menu', 9999); } if ( !function_exists( 'customize_admin_bar_menu' ) ): function customize_admin_bar_menu($wp_admin_bar){ //バーにメニューを追加 $title = sprintf( '<span class="ab-label">%s</span>', __( '管理メニュー', THEME_NAME )//親メニューラベル ); $wp_admin_bar->add_menu(array( 'id' => 'dashboard_menu', 'meta' => array(), 'title' => $title )); //サブメニューを追加 $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-dashboard', // 子メニューID 'meta' => array(), 'title' => __( 'ダッシュボード', THEME_NAME ), // ラベル 'href' => admin_url() // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-singles', // 子メニューID 'meta' => array(), 'title' => __( '投稿一覧', THEME_NAME ), // ラベル 'href' => admin_url('edit.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-pages', // 子メニューID 'meta' => array(), 'title' => __( '固定ページ一覧', THEME_NAME ), // ラベル 'href' => admin_url('edit.php?post_type=page') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-medias', // 子メニューID 'meta' => array(), 'title' => __( 'メディア一覧', THEME_NAME ), // ラベル 'href' => admin_url('upload.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-themes', // 子メニューID 'meta' => array(), 'title' => __( 'テーマ', THEME_NAME ), // ラベル 'href' => admin_url('themes.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-customize', // 子メニューID 'meta' => array(), 'title' => __( 'カスタマイズ', THEME_NAME ), // ラベル 'href' => admin_url('customize.php?return=' . esc_url(admin_url('themes.php'))) // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-widget', // 子メニューID 'meta' => array(), 'title' => __( 'ウィジェット', THEME_NAME ), // ラベル 'href' => admin_url('widgets.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-nav-menus', // 子メニューID 'meta' => array(), 'title' => __( 'メニュー', THEME_NAME ), // ラベル 'href' => admin_url('nav-menus.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-editor', // 子メニューID 'meta' => array(), 'title' => __( 'テーマの編集', THEME_NAME ), // ラベル 'href' => admin_url('theme-editor.php') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-plugins', // 子メニューID 'meta' => array(), 'title' => __( 'プラグイン一覧', THEME_NAME ), // ラベル 'href' => admin_url('plugins.php') // ページURL )); if (current_user_can('manage_options')) {//管理者権限がある場合 $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-settings', // 子メニューID 'meta' => array(), 'title' => __( SETTING_NAME_TOP, THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-settings') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-speech-balloon', // 子メニューID 'meta' => array(), 'title' => __( '吹き出し', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=speech-balloon') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-func-text', // 子メニューID 'meta' => array(), 'title' => __( 'テンプレート', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-func-text') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-affiliate-tag', // 子メニューID 'meta' => array(), 'title' => __( 'アフィリエイトタグ', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-affiliate-tag') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-ranking', // 子メニューID 'meta' => array(), 'title' => __( 'ランキング作成', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-ranking') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-access', // 子メニューID 'meta' => array(), 'title' => __( 'アクセス集計', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-access') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-speed-up', // 子メニューID 'meta' => array(), 'title' => __( '高速化', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-speed-up') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-backup', // 子メニューID 'meta' => array(), 'title' => __( 'バックアップ', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-backup') // ページURL )); $wp_admin_bar->add_menu(array( 'parent' => 'dashboard_menu', // 親メニューID 'id' => 'dashboard_menu-theme-cache', // 子メニューID 'meta' => array(), 'title' => __( 'キャッシュ削除', THEME_NAME ), // ラベル 'href' => admin_url('admin.php?page=theme-cache') // ページURL )); } } endif; // //記事公開前に確認アラートを出す // if (is_confirmation_before_publish()) { // add_action('admin_print_scripts', 'publish_confirm_admin_print_scripts'); // } // if ( !function_exists( 'publish_confirm_admin_print_scripts' ) ): // function publish_confirm_admin_print_scripts() { // $post_text = __( '公開', THEME_NAME ); // $confirm_text = __( '記事を公開してもよろしいですか?', THEME_NAME ); // echo <<< EOM // <script type="text/javascript"> // //console.log("id"); // window.onload = function() { // var id = document.getElementById('publish'); // if (id.value.indexOf("$post_text", 0) != -1) { // id.onclick = publish_confirm; // } // } // function publish_confirm() { // if (window.confirm("$confirm_text")) { // return true; // } else { // var elements = document.getElementsByTagName('span'); // for (var i = 0; i < elements.length; i++) { // var element = elements[i]; // if (element.className.indexOf("spinner", 0) != -1) { // element.classList.remove('spinner'); // } // } // document.getElementById('publish').classList.remove('button-primary-disabled'); // document.getElementById('save-post').classList.remove('button-disabled'); // return false; // } // } // </script> // EOM; // } // endif; //投稿一覧リストの上にタグフィルターと管理者フィルターを追加する add_action('restrict_manage_posts', 'custmuize_restrict_manage_posts'); if ( !function_exists( 'custmuize_restrict_manage_posts' ) ): function custmuize_restrict_manage_posts(){ global $post_type, $tag; if (($post_type == 'post') || ($post_type == 'page')) { if ( is_object_in_taxonomy( $post_type, 'post_tag' ) ) { $dropdown_options = array( 'show_option_all' => get_taxonomy( 'post_tag' )->labels->all_items, 'hide_empty' => 0, 'hierarchical' => 1, 'show_count' => 0, 'orderby' => 'name', 'selected' => $tag, 'name' => 'tag', 'taxonomy' => 'post_tag', 'value_field' => 'slug' ); wp_dropdown_categories( $dropdown_options ); } wp_dropdown_users( array( 'show_option_all' => 'すべてのユーザー', 'name' => 'author' ) ); } } endif; //投稿一覧で「全てのタグ」選択時は$_GET['tag']をセットしない add_action('load-edit.php', 'custmuize_load_edit_php'); if ( !function_exists( 'custmuize_load_edit_php' ) ): function custmuize_load_edit_php(){ if (isset($_GET['tag']) && '0' === $_GET['tag']) { unset ($_GET['tag']); } } endif; //投稿管理画面のヘッダーカスタマイズ add_action( 'admin_head-post-new.php', 'add_head_post_custum' ); add_action( 'admin_head-post.php', 'add_head_post_custum' ); if ( !function_exists( 'add_head_post_custum' ) ): function add_head_post_custum() { ?> <style> div.editor-block-list__block, div.editor-block-list__block p{ <?php //フォントサイズ if(get_site_font_size()): ?> font-size: <?php echo get_site_font_size(); ?>; <?php endif; ?> <?php //フォントファミリー if(get_site_font_family()): ?> font-family: <?php echo get_site_font_family(); ?>; <?php endif; ?> <?php //文字の太さ if(get_site_font_weight()): ?> font-weight: <?php echo get_site_font_weight(); ?>; <?php endif; ?> } </style> <script type="text/javascript"> jQuery(function($) { function zenToHan(text) { return text.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 65248); }); } function catFilter( header, list ) { var form = $('<form>').attr({'class':'filterform', 'action':'#'}).css({'position':'absolute', 'top':'38px'}), input = $('<input>').attr({'class':'filterinput', 'type':'text', 'placeholder':'<?php _e( 'カテゴリー検索', THEME_NAME ) ?>' }); $(form).append(input).appendTo(header); $(header).css({'padding-top':'42px'}); $(input).change(function() { var filter = $(this).val(); filter = zenToHan(filter).toLowerCase(); if( filter ) { //ラベルテキストから検索文字の見つからなかった場合は非表示 $(list).find('label').filter( function (index) { var labelText = zenToHan($(this).text()).toLowerCase(); return labelText.indexOf(filter) == -1; } ).hide(); //ラベルテキストから検索文字の見つかった場合は表示 $(list).find('label').filter( function (index) { var labelText = zenToHan($(this).text()).toLowerCase(); return labelText.indexOf(filter) != -1; } ).show(); } else { $(list).find('label').show(); } return false; }) .keyup(function() { $(this).change(); }); } $(function() { catFilter( $('#category-all'), $('#categorychecklist') ); }); }); </script> <?php } endif; //デフォルトの抜粋入力欄をビジュアルエディターにする // add_action( 'add_meta_boxes', array ( 'VisualEditorExcerpt', 'switch_boxes' ) ); if ( !class_exists( 'VisualEditorExcerpt' ) ): class VisualEditorExcerpt{ public static function switch_boxes() { if ( isset($GLOBALS['post']) && ! post_type_supports( $GLOBALS['post']->post_type, 'excerpt' ) ) { return; } $current_screen = get_current_screen(); if ( ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() ) || ( function_exists( 'is_gutenberg_page' ) && is_gutenberg_page() ) ) { } else { remove_meta_box( 'postexcerpt' // ID , '' // スクリーン、空だと全ての投稿タイプをサポート , 'normal' // コンテキスト ); add_meta_box( 'postexcerpt2' // Reusing just 'postexcerpt' doesn't work. , __( 'Excerpt' ) // タイトル , array ( __CLASS__, 'show' ) // 表示関数 , null // スクリーン , 'normal' // コンテキスト , 'core' // 優先度 ); } } //メタボックスの出力 public static function show( $post ) { ?> <label class="screen-reader-text" for="excerpt"><?php _e( 'Excerpt' ) ?></label> <?php //デフォルト名の'excerpt'を使用 wp_editor( self::unescape( $post->post_excerpt ), 'excerpt', array ( 'textarea_rows' => 15 , 'media_buttons' => false , 'teeny' => true , 'tinymce' => true ) ); } //エスケープ解除 public static function unescape( $str ) { return str_replace( array ( '<', '>', '"', '&', ' ', '&nbsp;' ) , array ( '<', '>', '"', '&', ' ', ' ' ) , $str ); } } endif; //テーマの編集機能で編集できるファイルを追加する wp4.4以降 add_filter('wp_theme_editor_filetypes', 'wp_theme_editor_filetypes_custom'); if ( !function_exists( 'wp_theme_editor_filetypes_custom' ) ): function wp_theme_editor_filetypes_custom($default_types){ $default_types[] = 'js'; $default_types[] = 'scss'; return $default_types; } endif; //ビジュアルエディターのクラス名に任意のclassを追加する //add_filter( 'teeny_mce_before_init', 'abc' ); add_filter( 'tiny_mce_before_init', 'tiny_mce_before_init_custom' ); if ( !function_exists( 'tiny_mce_before_init_custom' ) ): function tiny_mce_before_init_custom( $mceInit ) { //var_dump($mceInit ); //旧ビジュアルエディター if (isset($mceInit['body_class'])) { //if (!is_plugin_fourm_page()) { $fa_class = ' '.get_site_icon_font_class(); $mceInit['body_class'] .= ' body main article'.$fa_class.get_editor_page_type_class(); //} if (is_admin()) { $mceInit['body_class'] .= ' admin-page'; } else { $mceInit['body_class'] .= ' public-page'; } if (get_site_font_family_class()) { $mceInit['body_class'] .= ' '.get_site_font_family_class(); } if (get_site_font_size_class()) { $mceInit['body_class'] .= ' '.get_site_font_size_class(); } } return $mceInit; } endif; //無害化したプレビューのテンプレートファイル呼び出し if ( !function_exists( 'get_sanitize_preview_template_part' ) ): function get_sanitize_preview_template_part($slug, $name = null){ restore_global_skin_theme_options(); // global $_THEME_OPTIONS; // _v($_THEME_OPTIONS); ob_start(); get_template_part($slug, $name); $tag = ob_get_clean(); $tag = preg_replace('{<form.+?</form>}is', '', $tag); $tag = change_fa($tag); echo $tag; clear_global_skin_theme_options(); } endif; // テーマが指定するプレビュー画面かどうか // if ( !function_exists( 'is_cocoon_settings_preview' ) ): // function is_cocoon_settings_preview(){ // return isset($_GET['preview']) && $_GET['preview'] == 'theme-settings'; // } // endif; //グーテンベルグとクラシックエディターのタグをチェックリストボックス形式にする //参考:https://nldot.info/how-to-change-the-tags-to-checkbox-in-gutenberg/ if (is_editor_tag_check_list_enable()) { add_action( 'init', 'register_tag_check_list', 1 ); } if ( !function_exists( 'register_tag_check_list' ) ): function register_tag_check_list() { $tag_slug_args = get_taxonomy('post_tag'); // returns an object $tag_slug_args->hierarchical = true; $tag_slug_args->meta_box_cb = 'post_categories_meta_box'; register_taxonomy( 'post_tag', 'post',(array) $tag_slug_args); } endif;
© 2017 -
ZeroByte.ID
.