Esempio n. 1
0
											<span class="fss ilsep">|</span>
											<a href="javascript:;" data-node-type="showReader" class="fss" data-id="<?php 
        echo $diary['diaryid'];
        ?>
"><?php 
        echo $lang['Read'];
        ?>
  <em><?php 
        echo $diary['readercount'];
        ?>
</em></a>
											<?php 
        if ($diary['stamp'] > 0) {
            ?>
												<?php 
            $iconUrl = Stamp::model()->fetchIconById($diary['stamp']);
            ?>
												&nbsp;&nbsp;<img width="60" height="24" src="<?php 
            echo $stampPath . $iconUrl;
            ?>
"/>
											<?php 
        }
        ?>
										</div>
									</div>
								</div>
								<div class="da-detail" style="display:none;" data-id="<?php 
        echo $diary['diaryid'];
        ?>
"></div>
Esempio n. 2
0
</th>
										</tr>
									</thead>
									<tbody>
										<tr>
											<td>
												<div id="stamp_item_box" class="stamp-item-box">
													<?php 
foreach ($diffStampIds as $key => $diffStampId) {
    ?>
														<div class="stamp-item" data-node-type="stampItem" data-stamp-id="<?php 
    echo $diffStampId;
    ?>
">
															<img src="<?php 
    echo File::fileName('data/stamp/' . Stamp::model()->fetchIconById($diffStampId));
    ?>
" alt=""  width="60" height="24">
														</div>    
													<?php 
}
?>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
Esempio n. 3
0
                        </td>
                        <td>
                            <a href="<?php 
            echo Ibos::app()->urlManager->createUrl('diary/review/show', array('diaryid' => $review['diaryid']));
            ?>
"><?php 
            echo $review['user']['realname'] . ' &nbsp; ' . $review['diarytime'];
            ?>
</a>
                        </td>
                        <td width="60">
							<?php 
            if ($review['stamp'] != 0) {
                ?>
							<?php 
                $iconUrl = Stamp::model()->fetchIconById($review['stamp']);
                ?>
                            <img src="<?php 
                echo File::fileName(Stamp::STAMP_PATH) . $iconUrl;
                ?>
" alt="">
							<?php 
            }
            ?>
                        </td>
                    </tr>
                    <?php 
        }
        ?>
                </tbody>
            </table>