1 <form action =
"/UrlsView/find" method =
"get" class = "filter_form_res_TEST <?=$position?>
" id = "urls-form
" <?=$hidden?> >
3 <div class="md-content
" >
4 <h3>Extended resources search <input type="button
" class="md-close-button
" onclick="toggleUrlsForm()
" value="×
" <?=$btn?>></h3>
7 <td class = "righted
">Status:</td>
8 <td><?=CHtml::dropDownList("form[status]
", $status, array(
12 '2' => 'Selected for crawling',
15 '5' => 'Selected to process',
18 '8' => 'Selected for crawling (for incremental)'
23 'selected' => 'selected'
29 <td class = "righted
">HTTP Code:</td>
30 <td><?=CHtml::textField("form[httpCode]
", $httpCode, array('class'=>'text-et numeric', 'placeholder'=>'HTTP code', 'disabled' => false))?></td>
33 <td class = "righted
">State:</td>
34 <td><?=CHtml::dropDownList('form[state]', $state, array('0' => 'Enabled', '1' => 'Disabled',), array('class' => 'list-et'));?></td>
38 <td class = "righted
">Depth:</td>
39 <td>From <?=CHtml::textField("form[depthFrom]
", $depthFrom, array('class'=>'input-short numeric', 'placeholder'=>'', 'disabled' => false))?> to
40 <?=CHtml::textField("form[depthTo]
", $depthTo, array('class'=>'input-short numeric', 'placeholder'=>'', 'disabled' => false))?>
44 <td class = "righted
">Type:</td>
45 <td><?=CHtml::dropDownList('form[type]', $type, array('0' => 'Regular', '1' => 'Single'), array('class' => 'list-et'));?></td>
49 <td class = "righted
">Touch date from:</td>
50 <td><?=Chtml::dateField('form[tcDateFrom]',$tcDateFrom, array('class' => 'fDate',));?><?=CHtml::timeField('form[tcTimeFrom]', $tcTimeFrom, array('class' => 'fTime'));?></td>
53 <td class = "righted
">Site ID:*</td>
54 <td><?=CHtml::textField("form[siteId]
", $siteId, array('class'=>'text-et', 'placeholder'=>'Site ID (Site Md5)', 'required'=>'true'))?></td>
58 <td class = "righted
">to:</td>
59 <td><?=Chtml::dateField('form[tcDateTo]', $tcDateTo, array('class' => 'fDate',));?><?=CHtml::timeField('form[tcTimeTo]', $tcTimeTo, array('class' => 'fTime'));?></td>
62 <td class = "righted
">Resource ID:</td>
63 <td><?=CHtml::textField("form[resourceId]
", $resourceId, array('class'=>'text-et', 'placeholder'=>'Resource ID (URL Md5)', 'disabled' => false))?></td>
67 <td class = "righted
">Creation date from:</td>
68 <td><?=Chtml::dateField('form[cDateFrom]', $cDateFrom, array('class' => 'fDate',));?><?=CHtml::timeField('form[cTimeFrom]', $cTimeFrom, array('class' => 'fTime'));?></td>
71 <td class = "righted
">Resource URL:</td>
72 <td><?=CHtml::textField("form[resourceURL]
", $resourceURL, array('class'=>'text-et', 'placeholder'=>'URL or its part', 'disabled' => false))?></td>
76 <td class = "righted
">to:</td>
77 <td><?=Chtml::dateField('form[cDateTo]', $cDateTo, array('class' => 'fDate',));?><?=CHtml::timeField('form[cTimeTo]', $cTimeTo, array('class' => 'fTime'));?></td>
80 <td class = "righted
">Parent URL:</td>
81 <td><?=CHtml::textField("form[parentUrl]
", $parentUrl, array('class'=>'text-et', 'placeholder'=>'Parent URL', 'disabled' => false))?></td>
85 <td class = "righted
">Publication date from:</td>
86 <td><?=Chtml::dateField('form[pDateFrom]', $pDateFrom, array('class' => 'fDate',));?><?=CHtml::timeField('form[pTimeFrom]', $pTimeFrom, array('class' => 'fTime'));?></td>
89 <td class = "righted
">Content type:</td>
90 <td><?=CHtml::textField("form[contentType]
", $contentType, array('class'=>'text-et', 'placeholder'=>'Content type', 'disabled' => false))?></td>
94 <td class = "righted
">to:</td>
95 <td><?=Chtml::dateField('form[pDateTo]', $pDateTo, array('class' => 'fDate',));?><?=CHtml::timeField('form[pTimeTo]', $pTimeTo, array('class' => 'fTime'));?></td>
98 <td class = "righted
">Error mask</td>
99 <td><?=CHtml::textField('form[errorMask]', $errorMask, array('class' => 'text-et numeric mask', 'placeholder'=>'Error mask'));?><input class="md-trigger et-inside-bttn
" data-modal="create-error-mask
" type="button
" value="+
"></td>
103 <td class = "righted
">Only root URLs:</td>
104 <td><?=CHtml::checkBox('form[onlyRoot]', $onlyRoot, array('class'=>'checkbox-big'))?></td>
108 <td class = "righted
">Tags mask:</td>
109 <td><?=CHtml::textField("form[tagsMask]
", $tagsMask, array('class'=>'text-et numeric mask', 'placeholder'=>'Tags mask', 'disabled' => false))?><input class="md-trigger et-inside-bttn
" data-modal="create-tags-mask
" type="button
" value="+
"></td>
110 <td class = "righted
">Sort by:</td>
111 <td><?=CHtml::dropDownList("form[sortBy]
", '', array(
112 'CDate' => 'Creation date',
113 'UDate' => 'Update date',
114 'TcDate' => 'Touch date',
115 'Crawled' => 'Crawled',
116 'Processed' => 'Processed',
117 'CrawlingTime' => 'Crawling time',
118 'ProcessingTime' => 'Processing time',
119 'TotalTime' => 'Total time',
121 'Freq' => 'Frequency',
123 'LastModified' => 'Last modified',
124 'TagsCount' => 'Tags count',
125 'PDate' => 'Publication date',
130 'selected' => 'selected'
138 <?=CHtml::dropDownList("form[sortDirection]
", '', array(
144 $sortDirection=> Array(
145 'selected' => 'selected'
148 'id'=>'sortDirection',
157 <td class = "righted
">Tags count:</td>
158 <td><?=CHtml::textField("form[tagsCount]
", $tagsCount, array('class'=>'text-et numeric ', 'placeholder'=>'Tags count', 'disabled' => false))?></td>
161 <td colspan = "4
" class = "centred
">Items per page: <?=CHtml::dropDownList("form[limit]
", $limit, array(
176 'selected' => 'selected'
185 <td colspan = "4
"><?=CHtml::submitButton('Submit', array('id'=>'submit-res'))?></td>
190 echo CHtml::hiddenField('form[pN]', $page);
192 echo CHtml::hiddenField('form[pN]', '1');
197 <div class="md-modal md-effect-9
" id="create-tags-mask
">
198 <div class="md-content
">
202 <td style="padding-left: 5em
">
204 echo CHtml::checkBoxList('ltagsToMask', '', array(
206 '1' => 'publication date',
207 '2' => 'content_encoded',
210 '5' => 'description',
211 '6' => 'UPDATED_PARSED',
212 '7' => 'creation date',
216 '11' => 'media thumbnail',
219 'container' => 'div',
220 'template' => '{input} - {label}',
221 'class' => 'checkbox-big',
225 <td style="padding-left: 5em
">
227 echo CHtml::checkBoxList('rtagsToMask', '', array(
228 '12' => 'enclosure (rss)',
229 '13' => 'media (rss)',
230 '14' => 'google search',
231 '15' => 'google search total',
233 '17' => 'parent rss',
234 '18' => 'parent rss urlmd5',
235 '19' => 'summary detail',
238 '22' => 'tags (rss)',
242 'container' => 'div',
243 'template' => '{input} - {label}',
244 'class' => 'checkbox-big',
250 <div class="md-buttons
">
251 <button id="genTMask
">Create Mask</button>
252 <button class="md-close
" id="cancel-genTMask
">Cancel</button>
256 <div class="md-modal md-effect-9
" id="create-error-mask
">
257 <div class="md-content
">
261 <td style="padding-left: 5em
">
263 echo CHtml::checkBoxList('lerrorsToMask', '', array(
267 '3' => 'Empty content',
268 '4' => 'Wrong MIME type',
269 '5' => 'Connection error',
270 '6' => 'Code page convert error',
271 '7' => 'Bad redirection',
273 '9' => 'Authorization error',
274 '10' => 'File operation error',
275 '11' => 'Robots.txt rule not matched',
276 '12' => 'HTML_PARSE_ERROR',
277 '13' => 'BAD_ENCODING',
280 'container' => 'div',
281 'template' => '{input} - {label}',
282 'class' => 'checkbox-big',
286 <td style="padding-left: 5em
">
288 echo CHtml::checkBoxList('rerrorsToMask', '', array(
289 '14' => 'SITE_MAX_ERRORS',
290 '15' => 'SITE_MAX_RESOURCES',
291 '16' => 'MIME_NOT_WRITE',
292 '17' => 'MAX_ALLOW_HTTP_REDIRECTS',
293 '18' => 'MAX_ALLOW_HTML_REDIRECTS',
294 '19' => 'HTML_STRUCTURE',
295 '20' => 'DTD_INVALID',
296 '21' => 'CONTENT_TYPE',
297 '32' => 'MASK_SITE_MAX_ERRORS',
298 '33' => 'MASK_SITE_MAX_RESOURCES',
299 '34' => 'MASK_SITE_UNSUPPORTED_CONTENT_TYPE',
300 '35' => 'MASK_URL_ENCODING_ERROR',
301 '36' => 'MASK_SCRAPER_ERROR',
302 '37' => 'MASK_MISSED_RAW_CONTENT_ON_DISK',
305 'container' => 'div',
306 'template' => '{input} - {label}',
307 'class' => 'checkbox-big',
313 <div class="md-buttons
">
314 <button id="genEMask
">Create Mask</button>
315 <button class="md-close
" id="cancel-genEMask
">Cancel</button>
322 <div class="md-overlay
"></div>
323 <script src="/js/modals/classie.js
"></script>
324 <script src="/js/modals/modalEffects.js
"></script>
326 var polyfilter_scriptpath = '/js/modals/';
328 <script src="/js/modals/cssParser.js
"></script>