Code Context $xml = $this->get_xmp_array($xmp_data);
foreach($xml['Seq'] as $row) {
$single_data = array();
$item_details =
[
'path_root' => '/media/images/IMAGES DONE 2/',
'drive' => 'D',
'originalpath' => 'D:/Images/Images Done 2/Library/SF23/023788.jpg',
'FileSize' => '3 MB',
'is_book' => false,
'keywords' => 'gaa, hurling, COMPLETEDIMAGE,',
'real_path' => '/media/images/IMAGES DONE 2/Library/SF23/',
'path' => 'Library/SF23/023788',
'file_path' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF23/',
'file_pathBig' => 'https://www.sportsfile.com/web/winshare/w540/Library/SF23/',
'file_pathSmall' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF23/',
'file_name' => '023788.jpg',
'id' => '023788',
'sku' => '023788',
'image' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF23/023788.jpg',
'imageBig' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF23/023788.jpg',
'imageBigPreview' => 'https://www.sportsfile.com/web/winshare/w540/Library/SF23/023788.jpg',
'imageSmall' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF23/023788.jpg',
'categorycode' => 'ABC',
'moreimages' => 'ARC0001018',
'headline' => 'Tipperary v Kerry - Guinness Munster Senior Hurling Championship Quarter-Final',
'headlineTruncated' => 'Tipperary v Kerry - Guinness Munster Senior Hurling Championship Quarter-',
'caption' => '22 May 1999; Liam Cahill of Tipperary in action against Ian Brick of Kerry during the Guinness Munster Senior Hurling Championship Quarter-Final match between Tipperary and Kerry at Semple Stadium in Thurles, Tipperary. Photo by Ray Lohan/Sportsfile',
'DateCreated' => 'Sat, 22 May 1999 00:00:00 +0000',
'ShortDate' => '22 May 1999',
'LongDate' => 'Saturday 22nd May 1999',
'db_DateCreated' => '199905220000',
'event_images_count' => (int) 40,
'event_images_count_text' => '40 Images',
'parent_block' => '',
'parent_block_class' => '',
'image_link_url' => 'https://www.sportsfile.com/more-images/ARC0001018/',
'w' => '2065',
'h' => '1634',
'dimensions' => 'width='180'',
'mobile_dimensions' => 'style="width:100%;"',
'orientation' => 'horizontal',
'iptc_leadimage' => 'False',
'is_editorial' => 'false',
'is_hidden' => 'false',
'width' => (int) 2065,
'height' => (int) 1634,
'display_priority_timestamp' => (int) 0,
'event_group_lead_image' => 'f',
'page_sort' => (int) 0,
'date_sort' => (int) 0,
'display' => 'true',
'reindex' => 'false',
'alt' => '22 May 1999; Liam Cahill of Tipperary in action against Ian Brick of Kerry during the Guinness Munster Senior Hurling Championship Quarter-Final match between Tipperary and Kerry at Semple Stadium in Thurles, Tipperary. Photo by Ray Lohan/Sportsfile',
'folderid' => (int) 5000,
'link' => 'https://www.sportsfile.com/id/023788/',
'purchase_item' => true,
'button' => '<a href='https://www.sportsfile.com/id/023788/'>Purchase This Print</a><br/>',
'single_image_link_text' => 'Purchase Print',
'gallery_actions_default' => '<div class="gallery-actions">
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F023788&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-" class="left" onclick="track_share_click('twitter');"><div class="icon-medium icon-medium-twitter"></div></a>
<a class="facebook left" target="_blank" onclick="track_share_click('facebook'); return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/023788&t=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-"><div class="icon-medium icon-medium-facebook"></div></a>
<a href="https://www.sportsfile.com/id/023788/" class="text12 gallerylink right gallery-history-link">Purchase Print</a></div>',
'gallery_actions_corporate' => '<div class="gallery-actions corporate-box"></div>',
'permission_name' => 'access_5000',
'twitter_share_link' => 'https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F023788&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-',
'facebook_share_link' => 'https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/023788&t=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-',
'gallery_actions' => '<div class="gallery-actions">
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F023788&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-" class="left" onclick="track_share_click('twitter');"><div class="icon-medium icon-medium-twitter"></div></a>
<a class="facebook left" target="_blank" onclick="track_share_click('facebook'); return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/023788&t=Tipperary+v+Kerry+-+Guinness+Munster+Senior+Hurling+Championship+Quarter-"><div class="icon-medium icon-medium-facebook"></div></a>
<a href="https://www.sportsfile.com/id/023788/" class="text12 gallerylink right gallery-history-link">Purchase Print</a></div>',
]
$sql = 'select user_activity_tbl.*,users_tbl.name from user_activity_tbl
inner join users_tbl on user_activity_tbl.user_id=users_tbl.user_id where path='Library/SF23/023788' and action like '%editorial_image'
order by id'
$conn = object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'driver' => 'Cake\Database\Driver\Postgres',
'persistent' => 'false',
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'datasource' => 'Database/Postgres',
'schema' => 'public',
'prefix' => '',
'encoding' => 'utf8',
'url' => null,
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Postgres) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => true
'logger' => object(DebugKit\Database\Log\DebugLog) id:2 {
protected _queries => [
'' => [maximum depth reached],
]
protected _logger => null
protected _connectionName => 'default'
protected _totalTime => (int) 3
protected _totalRows => (int) 1
protected _includeSchema => false
}
}
$query = object(Cake\Database\Log\LoggingStatement) id:0 {
protected _logger => object(DebugKit\Database\Log\DebugLog) id:1 {
}
protected _compiledParams => [
]
protected startTime => (float) 1758106817.0505
protected loggedQuery => null
protected _statement => object(Cake\Database\Statement\PDOStatement) id:2 {
}
protected _driver => object(Cake\Database\Driver\Postgres) id:3 {
}
protected _hasExecuted => true
}
$editorial_history = [
]
$file = '/media/images/IMAGES DONE 2/Library/SF23/023788.jpg'
$var = [
'var' => [
'www_dir' => '/var/www/html',
'www_url' => 'http://www.sportsfile.com',
'web_dir' => '/var/www/html/src/webroot',
'web_url' => 'http://www.sportsfile.com',
'mod_dir' => '/var/www/html/mod/',
'mod_url' => 'http://www.sportsfile.com/mod/',
'cls_dir' => '/var/www/html/src/webroot/class/',
'cls_url' => 'http://www.sportsfile.com/class/',
'xml_dir' => '/var/www/html/src/webroot/xml/',
'img_dir' => '/var/www/html/src/webroot/images/',
'img_url' => 'http://www.sportsfile.com/images/',
'css_url' => 'http://www.sportsfile.com/css/',
'js_url' => 'http://www.sportsfile.com/js/',
'_mstart' => (float) 1758106817.0414,
'_log' => '',
'_onload' => '',
'_style' => '',
'_script' => '',
'_main' => 'main',
'_action' => 'main',
'_file' => 'main',
'_xmlact' => 'main.xml',
'_source' => 'post',
'www_index' => 'http://www.sportsfile.com/index.php',
'www_self' => 'http://www.sportsfile.com/id/023788',
'www_script' => 'http://www.sportsfile.com/index.php?action=main',
'ccode' => 'EUR',
'cname' => 'Euro',
'cicon' => '€',
'email_support' => 'liam@zeitsolutions.com',
'twitter_widgets_js' => '<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>',
],
'dataset' => [
'status' => [
(int) 1 => 'New Order',
(int) 2 => 'Sent To Printer',
(int) 3 => 'In Print',
(int) 4 => 'Cancelled',
(int) 5 => 'Posted',
],
],
]
$image_xmp_history = [
]
$key_data = [
'DRP' => 'Dropped',
'TXT' => 'Metadata Edited',
'ACT' => 'Sent to an Action',
]
$content = '��� JFIF G G ��KExif MM * > F�i N l
є '
є ' � � b � �( � J? H H ��� JFIF G G �� C !"$"$�� C�� � � ��
�� � } !1AQa"q2���#B��R��$3br�
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������
�� � w !1AQaq"2�B���� #3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz����������������������������������������������������������������������� ? ���I��X�~z�t�����G[�v��[�4��
�����<KY���ǩ����ؙT��G��z��hP*��>�JS�~�J0�
w8�j�_i��3��:����p��^c���E)a�N�O$:U�@�d����B[��L����5۸�-��'8��"�f4q3���x{U�|A��H�� ���\�8;�C��bqt�Q�_�pډ��'!�~t�y0���9&li���H�%�z�QS=�d���Aw��緔��oӇ�.��k�'���՝|�B�i�� Tg�e��J����ңK�z�+Phڴ�]�x� ڤ'V��(ૹ=Q7�<P�vf�<`t��/g3���8h>�I���p^ps�KCݩJx�
Rg�Lg�y����i��a��>����[��ͨ\�
����9r�f��V�� ۻ��G�<i��Ƥ�#��Tu�wJ�'��� �ǁXٖ�zΊ�Qxe��fH��&�y��M�+�>�;����ym���v��5|�u2�ll>A��d~�vE{6u��/��-6kxĝv��7E�R�� ��9�&��\j����ρ��}����gI���SU���0�O��5Fv�ѷ��{0�V�Іq<�isS��Xz�V����Jp���Mz���7���>�7���형$d�y8�q1�����Ye�.�gkq�}I��o-OS���r�R�"}��v��c��N��ꥋ�aճ^�G���z��q>aG�����M}p�S9���egc�)�mY�H���'��l������鰳DJ�Q,������_���<&���c�AnA\ت��h#�ʰ�1��#��IS�+�b���jb�����(����1k'�`�K/-� 1ҹ]�j{_\�*iCs���ƙj �,�c8�]�%���a�/~oC��.<��%�s�G�C��S��R��=�K�BFX��֮r��1�F��=���jvKkb�GXb�j{;�)N������>"��-�m��XL�3
n�W d��P0sǛ�̣��Kwܼ6�"\��}�������:�[v�5E�����U���_?��UN�i/G�h{k(r���_�h�u(����Ҽ=�Z@L�u�Y]�ѓ���I�(�r�z�3^�3E8��_;� �_#8e�O����o>���u��]�bR?��g��T�Ik��m��Z��_T��,ax!MzV�;;�y���k���4L�(����*jQ�Sj�5����دd��Z�$��~�Ť +�n�9&�9�
hICr�^#Т�7j����x��A��5��{Ys)~'M:��<���v�PЮ!�]̀k��R�җ��=�\5h�(j/��_*$9]�8��&�JNSz��m*U�cO��r��
���OZ�&�s)�)UQ��#kwS��0��8�z��[�*N��`�ݣ�yw
��*�:e��[���������CWk�N{��˚�gb{���Sٻ�)S����)�PQ�v;T�4U���8S�Z�#xT���t� ]�q�t��ٝI���a�b۴��k���沓=k�Z\���@ ��1�}�xك��3>�#�!R���]O�Qi�Q�cl�ۜR�WnI-�q�]��7U�S�=?N�����2q^����"�"{-�[��[Du
:l7F+�k�QP��z��J�%jfi:E�EoT���ID0iJ�Oo�$��M� ��\S�-�J�_Rk�lz�<7kmj�\H���sʻ���ɡ�%�����M�I���@N��鴞���_=�ѩ��^���}WӢ��3��o���~!���v�ǧ��B(渐x�B�$yaO��n��He1�#��n6O��� ��w��<�8EK��tݒ��d�➻}��my>�u�%���*�B f�FwVS�IGn�k֞�7��Z� [�D*N�\�O����"��AU�s�LkT�M�(�i��S�&