Здравствуйте необходима ваша помощь, кто сможет помочь отблагодарю. Код загрузки файла, суть в чем, у нас существует доска объевлений. И мобильное приложения в котором открывается просто сайт, с обычного браузера загрузить файл можно, а вот с приложения, он не поймет от куда загружать. Ссылка на вк https://vk.com/plastinin.danil и номер телефона +79281241746 Вот код где загрузка работает
<ion-nav-bar class="bar-custom nav-bar-container" nav-bar-transition="ios" nav-bar-direction="none" nav-swipe="">
<ion-nav-back-button ng-click="goBack()" class="hide"></ion-nav-back-button>
<ion-nav-buttons side="left" class="hide"></ion-nav-buttons>
<ion-nav-buttons side="right" class="hide"></ion-nav-buttons>
<div class="nav-bar-block" nav-bar="cached"><ion-header-bar class="bar-custom bar bar-header disable-user-behavior" align-title="center"><button ng-click="goBack()" class="button back-button hide buttons button-clear header-item"><i class="icon ion-ios-arrow-back"></i>
<span class="default-title ng-binding">Назад</span>
<span class="back-text"><span class="previous-title hide"></span></span></button><div class="buttons buttons-left header-item"><span class="left-buttons">
<button ng-show="showLeft()" menu-toggle="left" class="button button-clear icon ion-navicon-round ng-hide"></button>
</span></div><div class="title title-center header-item"></div><div class="buttons buttons-right header-item"><span class="right-buttons">
<button ng-show="showRight()" menu-toggle="right" class="button button-clear icon ion-navicon-round ng-hide"></button>
</span></div></ion-header-bar></div><div class="nav-bar-block" nav-bar="active"><ion-header-bar class="bar-custom bar bar-header disable-user-behavior" align-title="center"><button ng-click="goBack()" class="button back-button hide buttons button-clear header-item"><i class="icon ion-ios-arrow-back"></i>
<span class="default-title ng-binding">Назад</span>
<span class="back-text"><span class="previous-title hide"></span></span></button><div class="buttons buttons-left header-item"><span class="left-buttons">
<button ng-show="showLeft()" menu-toggle="left" class="button button-clear icon ion-navicon-round ng-hide"></button>
</span></div><div class="title title-center header-item" style="left: 15px; right: 15px;"><span class="nav-bar-title ng-binding">Форма</span></div><div class="buttons buttons-right header-item"><span class="right-buttons">
<button ng-show="showRight()" menu-toggle="right" class="button button-clear icon ion-navicon-round ng-hide"></button>
</span></div></ion-header-bar></div></ion-nav-bar>
<ion-nav-view class="view-container disable-user-behavior" nav-view-transition="ios" nav-view-direction="none" nav-swipe=""><ion-view class="form-view pane" nav-view="active" style="opacity: 1; transform: translate3d(0%, 0px, 0px);">
<ion-nav-title class="hide"></ion-nav-title>
<ion-content sb-background-image="" class="scroll-content ionic-scroll has-header"><div class="scroll" style="transform: translate3d(0px, 0px, 0px) scale(1);">
<form name="form" ng-submit="post()" class="ng-pristine ng-valid">
<!-- ngRepeat: section in sections --><div ng-repeat="section in sections" ng-show="sections" class="">
<div class="list">
<div class="item item-divider item-divider-custom">
<h2 class="ng-binding">ллдол</h2>
</div>
<!-- ngRepeat: field in section.fields --><div ng-repeat="field in section.fields" ng-switch="" on="field.type">
<!-- ngSwitchWhen: texte -->
<!-- ngSwitchWhen: textarea -->
<!-- ngSwitchWhen: email -->
<!-- ngSwitchWhen: nombre -->
<!-- ngSwitchWhen: date -->
<!-- ngSwitchWhen: geoloc -->
<!-- ngSwitchWhen: checkbox -->
<!-- ngSwitchWhen: radio -->
<!-- ngSwitchWhen: select -->
<!-- ngSwitchWhen: image --><div ng-switch-when="image">
<!-- ngIf: preview_src[field.id] -->
<div class="item item-icon-left item-custom ng-binding" ng-click="takePicture(field)">
<i class="icon ion-image"></i>
Добавить картинку
</div>
</div><!-- end ngSwitchWhen: -->
<!-- ngSwitchDefault: -->
</div><!-- end ngRepeat: field in section.fields -->
</div>
</div><!-- end ngRepeat: section in sections -->
<div class="list">
<button type="button" class="button button-block button-custom ng-binding" ng-click="post()" ng-show="sections.length && !is_loading">Отправить</button>
<div class="loader ng-hide" ng-show="is_loading">
<ion-spinner class="spinner-custom spinner spinner-ios"><svg viewBox="0 0 64 64"><g stroke-width="4" stroke-linecap="round"><line y1="17" y2="29" transform="translate(32,32) rotate(180)"><animate attributeName="stroke-opacity" dur="750ms" values="1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(210)"><animate attributeName="stroke-opacity" dur="750ms" values="0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(240)"><animate attributeName="stroke-opacity" dur="750ms" values=".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(270)"><animate attributeName="stroke-opacity" dur="750ms" values=".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(300)"><animate attributeName="stroke-opacity" dur="750ms" values=".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(330)"><animate attributeName="stroke-opacity" dur="750ms" values=".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(0)"><animate attributeName="stroke-opacity" dur="750ms" values=".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(30)"><animate attributeName="stroke-opacity" dur="750ms" values=".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(60)"><animate attributeName="stroke-opacity" dur="750ms" values=".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(90)"><animate attributeName="stroke-opacity" dur="750ms" values=".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(120)"><animate attributeName="stroke-opacity" dur="750ms" values=".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(150)"><animate attributeName="stroke-opacity" dur="750ms" values="1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1" repeatCount="indefinite"></animate></line></g></svg></ion-spinner>
</div>
</div>
<!-- ngIf: !is_loading && !sections.length -->
</form>
</div><div class="scroll-bar scroll-bar-v"><div class="scroll-bar-indicator scroll-bar-fade-out" style="transform: translate3d(0px, 0px, 0px) scaleY(1); height: 0px;"></div></div></ion-content>
**
**> > **А вот где нужно сделать**
> > - <div id="awpcp-media-uploader" class="awpcp-media-uploader">
> > <div class="awpcp-hide-if-js">
> > <?php echo esc_html( __( "Your browser doesn't have Flash, Silverlight or HTML5 support.", 'another-wordpress-classifieds-plugin'
> > ) ); ?>
> > </div>
> > <div class="awpcp-media-uploader-dropzone">
> > <div class="awpcp-media-uploader-dropzone-inner">
> > <div class="awpcp-media-uploader-instructions">
> > <span class="awpcp-media-uploader-instructions-title"><?php echo __( 'Drop
> > files here to upload', 'another-wordpress-classifieds-plugin' );
> > ?></span>
> > <span><?php echo _x( 'or', "The 'or' after 'Drop files here to upload' in Media Uploader",
> > 'another-wordpress-classifieds-plugin' ); ?></span>
> > <a href="#" class="awpcp-media-uploader-browser-button awpcp-button"><?php echo
> __( 'Select Files',
> > 'another-wordpress-classifieds-plugin' ); ?></a>
> > </div>
> > <div class="awpcp-media-uploader-restrictions"></div>
> > </div>
> > </div> </div>
>
> ****
Виртуальный выделенный сервер (VDS) становится отличным выбором
Здравствуйте помогите решить проблему выдает такая ошибка при запуске страницы:
Есть строка var a = "13:45 PM" хочу обрезать PM и оставить только 13:45 Попробовал так var b=strsubstring(5,7) не работает