| version 1.4, 2011/12/21 09:11:10 |
version 1.5, 2011/12/21 10:04:30 |
| Line 95 if (isset($_GET['wsdl'])) { |
|
| Line 95 if (isset($_GET['wsdl'])) { |
|
| <GetLatestHeadLinesByCategory> |
<GetLatestHeadLinesByCategory> |
| '; |
'; |
| $articles = ezin_get_article_list(intval($nCategoryID),0,0); |
$articles = ezin_get_article_list(intval($nCategoryID),0,0); |
| $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount; |
$last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1; |
| for ($a = $nRowIndex; $a < $last_article; $a++) { |
$last_article = ($last_article > count($articles)) ? count($articles) : $last_article; |
| |
for ($a = $nRowIndex; $a <= $last_article; $a++) { |
| // $nRowIndex je cislovany od 1, preto sa posuva |
// $nRowIndex je cislovany od 1, preto sa posuva |
| $b = $a - 1; |
$b = $a - 1; |
| $soap_out .= ' |
$soap_out .= ' |
| Line 127 if (isset($_GET['wsdl'])) { |
|
| Line 128 if (isset($_GET['wsdl'])) { |
|
| <GetLatestHeadLinesByAuthorResult> |
<GetLatestHeadLinesByAuthorResult> |
| '; |
'; |
| $articles = ezin_get_article_list(0,intval($nAuthorID),0); |
$articles = ezin_get_article_list(0,intval($nAuthorID),0); |
| $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount; |
$last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1; |
| for ($a = $nRowIndex; $a < $last_article; $a++) { |
$last_article = ($last_article > count($articles)) ? count($articles) : $last_article; |
| |
for ($a = $nRowIndex; $a <= $last_article; $a++) { |
| // $nRowIndex je cislovany od 1, preto sa posuva |
// $nRowIndex je cislovany od 1, preto sa posuva |
| $b = $a - 1; |
$b = $a - 1; |
| $soap_out .= ' |
$soap_out .= ' |
| Line 158 if (isset($_GET['wsdl'])) { |
|
| Line 160 if (isset($_GET['wsdl'])) { |
|
| <GetLatestHeadLinesResult> |
<GetLatestHeadLinesResult> |
| '; |
'; |
| $articles = ezin_get_article_list(0,0,0); |
$articles = ezin_get_article_list(0,0,0); |
| $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount; |
$last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1; |
| for ($a = $nRowIndex; $a < $last_article; $a++) { |
$last_article = ($last_article > count($articles)) ? count($articles) : $last_article; |
| |
for ($a = $nRowIndex; $a <= $last_article; $a++) { |
| // $nRowIndex je cislovany od 1, preto sa posuva |
// $nRowIndex je cislovany od 1, preto sa posuva |
| $b = $a - 1; |
$b = $a - 1; |
| $soap_out .= ' |
$soap_out .= ' |