Ejemplo n.º 1
0
# -*- coding: ms949 -*-


import transcripts_view
import wall_model

print(transcripts_view.response())
print(transcripts_view.include_header())
print(transcripts_view.topbar())
print(transcripts_view.start_container())
# print(transcripts_view.search())        # search에서 찾는 기능.....

print(transcripts_view.start_transcripts())


# db에서 가져와서 출력
list = wall_model.get_transcript_day_list()
i = 0
while i < len(list):
    print(transcripts_view.transcript_day(list[i], "transcript_day.py?date=" + list[i]))
    i += 1


print(transcripts_view.end_transcripts())
print(transcripts_view.end_container())


# javascript 추가

print(transcripts_view.include_footer())
Ejemplo n.º 2
0
import transcripts_view
import wall_model

str = ''
#for d in wall_model.get_transcript_all():
 #   str += 'hi '

print(transcripts_view.response())
print(transcripts_view.include_header())
print('wwww')
list = wall_model.get_transcript_day_list()
print(list)
print(list[0])
i = 0
while i< len(list):
    print(transcripts_view.transcript_day(strr, '#'))
print('</body></html>')