newsgenerator.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:WorldsAtWar 作者: heidi666 项目源码 文件源码
def traderaiders(): #type 7
    imgloc = static('actionnews/traderaiders.gif')
    data = """<center> \
            Raiders have been harassing your trade ships. What should be done? \
            <p class="halfline">&nbsp;</p> \
            <img src="%s" alt="traderaiders"> \
            <p class="halfline">&nbsp;</p> \
            <table> \
            <tr> \
            <td class='center'><input type='submit' name='traidersattack' value='Attack' class='button'  \
                    title='This cannot stand! Send your home fleet to crush these rats.'/></td>  \
            <td class='center'><input type='submit' name='traidersbribe' value='Bribe' class='button'  \
                    title='Pay 500 GEU to try and make them go away.'/></td>  \
            <td class='center'><input type='submit' name='traidersignore' value='Ignore' class='button'  \
                    title='We have far more important things to worry about than a couple of petty raiders.'/></td>  \
            </tr> \
            </table> \
            </center>""" % imgloc
    return data
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号