|
|
@@ -181,7 +181,7 @@ class IndexController extends BaseController
|
|
|
$content1 = file_get_contents($apiUrl.'/laohuangli/');
|
|
|
$temp1 = substr($content1,strpos($content1, '<div class="goodcalendar4">'));
|
|
|
$temp1 = substr($temp1,0, strpos($temp1, '</div>'));
|
|
|
- preg_match("/<\/td><td>(.*)<\/td><td>/", $temp1, $yi);
|
|
|
+ preg_match("/<\/td>\\n<td>(.*)<\/td>\\n<td>/", $temp1, $yi);
|
|
|
$yi = isset($yi[1])? $yi[1] : '';
|
|
|
preg_match("/<td colspan=\"3\">(.*)<\/td>/", $temp1, $ji);
|
|
|
$ji = isset($ji[1])? $ji[1] : '';
|